Interface ConditionStep
-
- All Implemented Interfaces:
-
com.embabel.common.core.types.HasInfoString,com.embabel.common.core.types.Named,com.embabel.plan.Step
public interface ConditionStep implements Step
Step with preconditions
-
-
Method Summary
Modifier and Type Method Description BooleanisAchievable(ConditionWorldState currentState)Whether the step is available in the current world state abstract Map<String, ConditionDetermination>getPreconditions()Conditions that must be true for this step to execute abstract Set<String>getKnownConditions()The names of all conditions that are referenced by this step -
-
Method Detail
-
isAchievable
Boolean isAchievable(ConditionWorldState currentState)
Whether the step is available in the current world state
-
getPreconditions
abstract Map<String, ConditionDetermination> getPreconditions()
Conditions that must be true for this step to execute
-
getKnownConditions
abstract Set<String> getKnownConditions()
The names of all conditions that are referenced by this step
-
-
-
-