Package jadex.bdiv3x.features
Class BDIXAgentFeature.LifecycleStateCondition
- java.lang.Object
- 
- jadex.bdiv3x.features.BDIXAgentFeature.LifecycleStateCondition
 
- 
- All Implemented Interfaces:
- jadex.rules.eca.ICondition
 - Enclosing class:
- BDIXAgentFeature
 
 public static class BDIXAgentFeature.LifecycleStateCondition extends java.lang.Object implements jadex.rules.eca.IConditionCondition for checking the lifecycle state of a goal.
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleanallowedThe flag if state is allowed or disallowed.protected java.util.Set<IGoal.GoalLifecycleState>statesThe allowed states.
 - 
Constructor SummaryConstructors Constructor Description LifecycleStateCondition(IGoal.GoalLifecycleState state)Create a new condition.LifecycleStateCondition(IGoal.GoalLifecycleState state, boolean allowed)Create a new condition.LifecycleStateCondition(java.util.Set<IGoal.GoalLifecycleState> states)Create a new condition.LifecycleStateCondition(java.util.Set<IGoal.GoalLifecycleState> states, boolean allowed)Create a new condition.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<Tuple2<java.lang.Boolean,java.lang.Object>>evaluate(jadex.rules.eca.IEvent event)Evaluate the condition.
 
- 
- 
- 
Field Detail- 
statesprotected java.util.Set<IGoal.GoalLifecycleState> states The allowed states.
 - 
allowedprotected boolean allowed The flag if state is allowed or disallowed.
 
- 
 - 
Constructor Detail- 
LifecycleStateConditionpublic LifecycleStateCondition(IGoal.GoalLifecycleState state) Create a new condition.
 - 
LifecycleStateConditionpublic LifecycleStateCondition(java.util.Set<IGoal.GoalLifecycleState> states) Create a new condition.
 - 
LifecycleStateConditionpublic LifecycleStateCondition(IGoal.GoalLifecycleState state, boolean allowed) Create a new condition.
 - 
LifecycleStateConditionpublic LifecycleStateCondition(java.util.Set<IGoal.GoalLifecycleState> states, boolean allowed) Create a new condition.
 
- 
 
-