br.pucrio.inf.les.bdijade.event
Class GoalFinishedEvent
java.lang.Object
br.pucrio.inf.les.bdijade.event.GoalEvent
br.pucrio.inf.les.bdijade.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
| Fields inherited from class br.pucrio.inf.les.bdijade.event.GoalEvent |
goal |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
status
protected GoalStatus status
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.
getStatus
public GoalStatus getStatus()
- Returns:
- the status
setStatus
public void setStatus(GoalStatus status)
- Parameters:
status - the status to set