massim.competition2012
Class GraphSimulationXMLStatisticsObserver
java.lang.Object
java.util.Observable
massim.framework.XMLOutputObserver
massim.competition2012.GraphSimulationXMLStatisticsObserver
- All Implemented Interfaces:
- Component, Observer
public class GraphSimulationXMLStatisticsObserver
- extends XMLOutputObserver
This class provides all information needed for the tomcat results page.
Note: If you change the format of the document sent to the tomcat you have
to change the webapp WebClientTournamentServlet as well
Also, the webapp CreateResultsPage and the ResultsPage are affected.
So, be careful!
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
simulationName
public static java.lang.String simulationName
outputFolder
public static java.lang.String outputFolder
GraphSimulationXMLStatisticsObserver
public GraphSimulationXMLStatisticsObserver()
notifySimulationStart
public void notifySimulationStart()
- Specified by:
notifySimulationStart
in interface Observer
- Overrides:
notifySimulationStart
in class XMLOutputObserver
notifySimulationEnd
public void notifySimulationEnd()
- Specified by:
notifySimulationEnd
in interface Observer
- Overrides:
notifySimulationEnd
in class XMLOutputObserver
notifySimulationState
public void notifySimulationState(SimulationState state)
- Specified by:
notifySimulationState
in interface Observer
- Overrides:
notifySimulationState
in class XMLOutputObserver
start
public void start()
- Description copied from interface:
Component
- Tell the component to start activity.
stop
public void stop()
- Description copied from interface:
Component
- Tell the component to cease activity.
Copyright © 2012. All Rights Reserved.