org.mars_sim.msp.simulation.person.ai.task
Class TaskEvent

java.lang.Object
  extended by org.mars_sim.msp.simulation.events.HistoricalEvent
      extended by org.mars_sim.msp.simulation.person.ai.task.TaskEvent

public class TaskEvent
extends HistoricalEvent

This class represents the historical actions involving tasks.


Field Summary
static java.lang.String DEVELOPMENT
           
static java.lang.String FINISH
           
static java.lang.String START
           
 
Constructor Summary
TaskEvent(Person person, Task task, java.lang.String eventType, java.lang.String description)
          Constructor
 
Method Summary
 
Methods inherited from class org.mars_sim.msp.simulation.events.HistoricalEvent
getCategory, getDescription, getSource, getTimestamp, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START

public static final java.lang.String START
See Also:
Constant Field Values

FINISH

public static final java.lang.String FINISH
See Also:
Constant Field Values

DEVELOPMENT

public static final java.lang.String DEVELOPMENT
See Also:
Constant Field Values
Constructor Detail

TaskEvent

public TaskEvent(Person person,
                 Task task,
                 java.lang.String eventType,
                 java.lang.String description)
Constructor

Parameters:
person - The person performing the task.
task - The task with the event.
eventType - The type of event.
description - Further description of the event (may be empty string).