jadex.bdi.planlib
Class PlanFinishedTaskCondition

java.lang.Object
  extended by jadex.bdi.planlib.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.


Field Summary
protected  boolean finished
          The finished flag.
 
Constructor Summary
PlanFinishedTaskCondition(IPlan plan)
          Create a plan finished task condition.
 
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
 

Field Detail

finished

protected boolean finished
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 interface IBooleanCondition
Returns:
True, if the condition is valid.


Copyright © 2010. All Rights Reserved.