Package jadex.bdi.runtime.impl
Class BDIAgentFeature.LifecycleStateCondition
java.lang.Object
jadex.bdi.runtime.impl.BDIAgentFeature.LifecycleStateCondition
- All Implemented Interfaces:
jadex.rules.eca.ICondition
- Enclosing class:
BDIAgentFeature
public static class BDIAgentFeature.LifecycleStateCondition
extends Object
implements jadex.rules.eca.ICondition
Condition for checking the lifecycle state of a goal.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
The flag if state is allowed or disallowed.protected Set
<IGoal.GoalLifecycleState> The allowed states.Fields inherited from interface jadex.rules.eca.ICondition
FALSE, TRUE, TRUE_CONDITION
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new condition.LifecycleStateCondition
(IGoal.GoalLifecycleState state, boolean allowed) Create a new condition.Create a new condition.LifecycleStateCondition
(Set<IGoal.GoalLifecycleState> states, boolean allowed) Create a new condition. -
Method Summary
-
Field Details
-
states
The allowed states. -
allowed
protected boolean allowedThe flag if state is allowed or disallowed.
-
-
Constructor Details
-
LifecycleStateCondition
Create a new condition. -
LifecycleStateCondition
Create a new condition. -
LifecycleStateCondition
Create a new condition. -
LifecycleStateCondition
Create a new condition.
-
-
Method Details