Class ComputedBooleanCondition

  • All Implemented Interfaces:
    com.embabel.agent.core.Condition , com.embabel.agent.core.ConditionMetadata , com.embabel.agent.core.Operation , com.embabel.common.core.types.HasInfoString , com.embabel.common.core.types.Named

    
    public final class ComputedBooleanCondition
     implements Condition
                        

    Convenient class for a condition that evaluates to true or false.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String name
      private final Double cost
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName()
      Double getCost() Cost of evaluating the condition.
      ConditionDetermination evaluate(OperationContext context) Evaluate the condition in the context of the process.
      String toString()
      • Methods inherited from class com.embabel.agent.core.Condition

        and, infoString, inv, not, or
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait