org.mars_sim.msp.simulation.malfunction
Class MalfunctionEvent

java.lang.Object
  extended by org.mars_sim.msp.simulation.events.HistoricalEvent
      extended by org.mars_sim.msp.simulation.malfunction.MalfunctionEvent

public class MalfunctionEvent
extends HistoricalEvent

This class represents the historical action of a Malfunction occuring or being resolved.


Constructor Summary
MalfunctionEvent(Malfunctionable entity, Malfunction malfunction, boolean fixed)
          Create an event associated to a Malfunction.
 
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
 

Constructor Detail

MalfunctionEvent

public MalfunctionEvent(Malfunctionable entity,
                        Malfunction malfunction,
                        boolean fixed)
Create an event associated to a Malfunction.

Parameters:
entity - Malfunctionable entity with problem.
malfunction - Problem that has occured.
fixed - Is the malfunction resolved.