Interface IGoal

All Superinterfaces:
IElement, IFinishableElement<Void>, IParameterElement
All Known Implementing Classes:
RGoal

public interface IGoal extends IParameterElement, IFinishableElement<Void>
Interface for a bdi goal.
  • Method Details

    • getId

      String getId()
      Get the id.
      Specified by:
      getId in interface IElement
      Returns:
      The id.
    • drop

      jadex.future.IFuture<Void> drop()
      Drop the goal.
    • getLifecycleState

      IGoal.GoalLifecycleState getLifecycleState()
      Get the lifecycle state.
      Returns:
      The current lifecycle state (e.g. new, active, dropped).
    • getProcessingState

      IGoal.GoalProcessingState getProcessingState()
      Get the processingState.
      Returns:
      The processingState.
    • isActive

      boolean isActive()
      Test if the goal is in lifecyclestate 'active'.