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 Details

    • states

      protected Set<IGoal.GoalLifecycleState> states
      The allowed states.
    • allowed

      protected boolean allowed
      The flag if state is allowed or disallowed.
  • Constructor Details

  • Method Details

    • evaluate

      public jadex.future.IFuture<jadex.common.Tuple2<Boolean,Object>> evaluate(jadex.rules.eca.IEvent event)
      Evaluate the condition.
      Specified by:
      evaluate in interface jadex.rules.eca.ICondition