## Uses of Class
bdi4jade.event.GoalEvent

- Packages that use GoalEvent
  Package | Description
  --- | ---
  bdi4jade.event | This package contains interfaces and classes that allows creating listeners of events that occur in an agent, such as updating beliefs or achieving goals, and representing such events.
  bdi4jade.goal | This package contains interfaces and classes that allows representation of goals and softgoals of an agent.
  bdi4jade.plan.planbody | This package contains interfaces and classes that allows representation of plan body, which is an executable piece of code that is instantiated and executed to achieve goals.

- - ### Uses of GoalEvent in bdi4jade.event

    Methods in bdi4jade.event with parameters of type GoalEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | GoalListener.`goalPerformed(GoalEvent event)` Notifies the listener that a goal that was performed.

  - ### Uses of GoalEvent in bdi4jade.goal

    Fields in bdi4jade.goal declared as GoalEvent
    Modifier and Type | Field and Description
    --- | ---
    `protected GoalEvent` | CompositeGoal.`failedGoal`

    Methods in bdi4jade.goal that return GoalEvent
    Modifier and Type | Method and Description
    --- | ---
    `GoalEvent` | CompositeGoal.`getFailedGoal()` Returns the goal event associated with a goal that could not be achieved, if any.

    Methods in bdi4jade.goal with parameters of type GoalEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | CompositeGoal.`setFailedGoal(GoalEvent failedGoal)` Sets the goal event associated with the goal that failed.

  - ### Uses of GoalEvent in bdi4jade.plan.planbody

    Fields in bdi4jade.plan.planbody declared as GoalEvent
    Modifier and Type | Field and Description
    --- | ---
    `protected GoalEvent` | SequentialGoalPlanBody.`failedGoal`
    `protected GoalEvent` | ParallelGoalPlanBody.`failedGoal`

    Methods in bdi4jade.plan.planbody that return GoalEvent
    Modifier and Type | Method and Description
    --- | ---
    `GoalEvent` | SequentialActionPlanBody.`getGoalEvent()`
    `GoalEvent` | PlanBody.`getGoalEvent()` Returns a goal event from the queue.
    `GoalEvent` | ParallelActionPlanBody.`getGoalEvent()`
    `GoalEvent` | FSMPlanBody.`getGoalEvent()`
    `GoalEvent` | AbstractPlanBody.`getGoalEvent()` Returns a goal event from the queue.
    `GoalEvent` | SequentialActionPlanBody.`getGoalEvent(boolean block)`
    `GoalEvent` | PlanBody.`getGoalEvent(boolean block)` Returns a goal event from the queue.
    `GoalEvent` | ParallelActionPlanBody.`getGoalEvent(boolean block)`
    `GoalEvent` | FSMPlanBody.`getGoalEvent(boolean block)`
    `GoalEvent` | AbstractPlanBody.`getGoalEvent(boolean block)` Returns a goal event from the queue.
    `GoalEvent` | SequentialActionPlanBody.`getGoalEvent(long ms)`
    `GoalEvent` | PlanBody.`getGoalEvent(long ms)` Returns a goal event from the queue.
    `GoalEvent` | ParallelActionPlanBody.`getGoalEvent(long ms)`
    `GoalEvent` | FSMPlanBody.`getGoalEvent(long ms)`
    `GoalEvent` | AbstractPlanBody.`getGoalEvent(long ms)` Returns a goal event from the queue.

    Methods in bdi4jade.plan.planbody with parameters of type GoalEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | SequentialActionPlanBody.`goalPerformed(GoalEvent event)`
    `void` | ParallelActionPlanBody.`goalPerformed(GoalEvent event)`
    `void` | FSMPlanBody.`goalPerformed(GoalEvent event)`
    `void` | AbstractPlanBody.`goalPerformed(GoalEvent event)` Receives the notification that a goal event has occurred.