org.apache.oodt.cas.workflow.examples
Class CheckForMetadataKeys

java.lang.Object
  extended by org.apache.oodt.cas.workflow.examples.CheckForMetadataKeys
All Implemented Interfaces:
WorkflowConditionInstance

public class CheckForMetadataKeys
extends Object
implements WorkflowConditionInstance


Constructor Summary
CheckForMetadataKeys()
           
 
Method Summary
 boolean evaluate(Metadata metadata, WorkflowConditionConfiguration config)
           The actual conditional: this method should return true if the condition is satisfied, otherwise, false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckForMetadataKeys

public CheckForMetadataKeys()
Method Detail

evaluate

public boolean evaluate(Metadata metadata,
                        WorkflowConditionConfiguration config)
Description copied from interface: WorkflowConditionInstance

The actual conditional: this method should return true if the condition is satisfied, otherwise, false.

Specified by:
evaluate in interface WorkflowConditionInstance
Parameters:
metadata - Any metadata needed by the conditional to determine satisfaction.
Returns:
true if the condition is satisfied, otherwise, false.


Copyright © 1999-2013
Apache OODT. All Rights Reserved.