Package jadex.bdiv3.runtime
Class PlanFinishedTaskCondition
- java.lang.Object
-
- jadex.bdiv3.runtime.PlanFinishedTaskCondition
-
- All Implemented Interfaces:
IBooleanCondition
public class PlanFinishedTaskCondition extends java.lang.Object implements IBooleanCondition
Finished condition for a space object task to be removed when a plan is finished.
-
-
Constructor Summary
Constructors Constructor Description PlanFinishedTaskCondition(IPlan plan)
Create a plan finished task condition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid()
Get the current state of the condition.
-
-
-
Field Detail
-
plan
protected IPlan plan
The finished flag.
-
-
Constructor Detail
-
PlanFinishedTaskCondition
public PlanFinishedTaskCondition(IPlan plan)
Create a plan finished task condition.- Parameters:
plan
- The plan.
-
-
Method Detail
-
isValid
public boolean isValid()
Get the current state of the condition.- Specified by:
isValid
in interfaceIBooleanCondition
- Returns:
- True, if the condition is valid.
-
-