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

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

public class FalseCondition
extends Object
implements WorkflowConditionInstance

Version:
$Revision$

A WorkflowConditionInstance that always returns false.

Author:
mattmann

Constructor Summary
FalseCondition()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FalseCondition

public FalseCondition()
Method Detail

evaluate

public boolean evaluate(org.apache.oodt.cas.metadata.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-2011 Apache OODT. All Rights Reserved.