bdi4jade.core

## Class GoalUpdateSet.GoalDescription

- java.lang.Object
- - bdi4jade.core.GoalUpdateSet.GoalDescription

- Enclosing class:
    GoalUpdateSet

      public class GoalUpdateSet.GoalDescription
      extends java.lang.Object

  This class is a data structure to describe a goal. This description contains the goal itself, together with its status and the capability that dispatched the goal (if it was dispatched in a plan of a capability).
  Author:
    Ingrid Nunes

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Capability` | `getDispatcher()` Returns the capability that dispatched the goal.
    `Goal` | `getGoal()` Returns the goal described by this descriptor.
    `GoalListener` | `getListener()` Returns a listener of the goal.
    `GoalStatus` | `getStatus()` Returns the status of the goal described by this descriptor.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getDispatcher

          public Capability getDispatcher()

      Returns the capability that dispatched the goal.
      Returns:
        the capability.

    - #### getGoal

          public Goal getGoal()

      Returns the goal described by this descriptor.
      Returns:
        the goal.

    - #### getListener

          public GoalListener getListener()

      Returns a listener of the goal.
      Returns:
        the listener.

    - #### getStatus

          public GoalStatus getStatus()

      Returns the status of the goal described by this descriptor.
      Returns:
        the goal status.