Package com.embabel.agent.core
Interface Condition
-
- All Implemented Interfaces:
-
com.embabel.agent.core.ConditionMetadata,com.embabel.agent.core.Operation,com.embabel.common.core.types.HasInfoString,com.embabel.common.core.types.Named
public interface Condition implements ConditionMetadata, HasInfoString
A Condition is a named, well known predicate that can be evaluated and reused across multiple Actions.
-
-
Method Summary
-
-
Method Detail
-
evaluate
abstract ConditionDetermination evaluate(OperationContext context)
Evaluate the condition in the context of the process. This may be expensive, so the cost is provided. The infrastructure will attempt to call this function infrequently on expensive conditions, so there's no urgency to optimize here.
-
infoString
String infoString(Boolean verbose, Integer indent)
-
-
-
-