jadex.bdi.planlib
Class PlanFinishedTaskCondition
java.lang.Object
jadex.bdi.planlib.PlanFinishedTaskCondition
- All Implemented Interfaces:
- IBooleanCondition
public class PlanFinishedTaskCondition
- extends Object
- implements IBooleanCondition
Finished condition for a space object task to be removed
when a plan is finished.
|
Field Summary |
protected boolean |
finished
The finished flag. |
|
Method Summary |
boolean |
isValid()
Get the current state of the condition. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
finished
protected boolean finished
- The finished flag.
PlanFinishedTaskCondition
public PlanFinishedTaskCondition(IPlan plan)
- Create a plan finished task condition.
- Parameters:
plan - The plan.
isValid
public boolean isValid()
- Get the current state of the condition.
- Specified by:
isValid in interface IBooleanCondition
- Returns:
- True, if the condition is valid.
Copyright © 2010. All Rights Reserved.