org.apache.oodt.cas.workflow.structs
Interface WorkflowConditionInstance

All Known Implementing Classes:
CheckForMetadataKeys, FalseCondition, LongCondition, TrueCondition

public interface WorkflowConditionInstance

Version:
$Revsion$

The actual evaluation method for the condition should be defined in any class that implements this interface.

Author:
mattmann

Method Summary
 boolean evaluate(org.apache.oodt.cas.metadata.Metadata metadata, WorkflowConditionConfiguration config)
           The actual conditional: this method should return true if the condition is satisfied, otherwise, false.
 

Method Detail

evaluate

boolean evaluate(org.apache.oodt.cas.metadata.Metadata metadata,
                 WorkflowConditionConfiguration config)

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

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


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