public static class BDIXAgentFeature.LifecycleStateCondition
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowed
The flag if state is allowed or disallowed.
|
protected java.util.Set<IGoal.GoalLifecycleState> |
states
The allowed states.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
IFuture<Tuple2<java.lang.Boolean,java.lang.Object>> |
evaluate(IEvent event)
Evaluate the condition.
|
protected java.util.Set<IGoal.GoalLifecycleState> states
protected boolean allowed
public LifecycleStateCondition(IGoal.GoalLifecycleState state)
public LifecycleStateCondition(java.util.Set<IGoal.GoalLifecycleState> states)
public LifecycleStateCondition(IGoal.GoalLifecycleState state, boolean allowed)
public LifecycleStateCondition(java.util.Set<IGoal.GoalLifecycleState> states, boolean allowed)