public class IfStateThenPlan
extends java.lang.Object
Constructor and Description |
---|
IfStateThenPlan(java.lang.Object state,
Plan plan)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Plan |
ifStateMatches(java.lang.Object state)
Uses this if-state-then-plan return a result based on the given state
|
java.lang.String |
toString()
Return string representation of this if-then-else
|
public IfStateThenPlan(java.lang.Object state, Plan plan)
state
- plan
- public Plan ifStateMatches(java.lang.Object state)
state
- public java.lang.String toString()
toString
in class java.lang.Object