bdi4jade.event

## Class GoalFinishedEvent

- java.lang.Object
- - bdi4jade.event.GoalEvent
  - - bdi4jade.event.GoalFinishedEvent

- All Implemented Interfaces:
    jade.content.AgentAction, jade.content.Concept, jade.content.ContentElement, jade.content.Term, java.io.Serializable

      public class GoalFinishedEvent
      extends GoalEvent

  Author:
    ingrid
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GoalFinishedEvent()` Default constructor.
    `GoalFinishedEvent(Goal goal, GoalStatus status)` Creates a new goal event with a goal and its status.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `GoalStatus` | `getStatus()`
    `void` | `setStatus(GoalStatus status)`

    - ### Methods inherited from class bdi4jade.event.GoalEvent

      `getGoal, setGoal`

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

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

- - ### Constructor Detail

    - #### GoalFinishedEvent

          public GoalFinishedEvent()

      Default constructor.

    - #### GoalFinishedEvent

          public GoalFinishedEvent(Goal goal,
                           GoalStatus status)

      Creates a new goal event with a goal and its status.
      Parameters:
        `goal` - the goal of this event.
        `status` - the status of the goal.

  - ### Method Detail

    - #### getStatus

          public GoalStatus getStatus()

      Returns:
        the status

    - #### setStatus

          public void setStatus(GoalStatus status)

      Parameters:
        `status` - the status to set