bdi4jade.event

## Class GoalEvent

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

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

      public class GoalEvent
      extends java.lang.Object
      implements jade.content.AgentAction

  This class represents an event performed over a goal.
  Author:
    ingrid
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GoalEvent()` Default constructor.
    `GoalEvent(Goal goal)` Creates a new goal event with a goal.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Goal` | `getGoal()`
    `void` | `setGoal(Goal goal)`

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

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

- - ### Constructor Detail

    - #### GoalEvent

          public GoalEvent()

      Default constructor.

    - #### GoalEvent

          public GoalEvent(Goal goal)

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

  - ### Method Detail

    - #### getGoal

          public Goal getGoal()

      Returns:
        the goal

    - #### setGoal

          public void setGoal(Goal goal)

      Parameters:
        `goal` - the goal to set