org.powertac.visualizer.beans
Class VisualizerBean
java.lang.Object
org.powertac.visualizer.beans.VisualizerBean
- All Implemented Interfaces:
- Serializable
@Service
public class VisualizerBean
- extends Object
- implements Serializable
Holds properties of the Visualizer such as number of received messages from
the simulator, number of Visualizer runs etc.
- Author:
- Jurica Babic
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisualizerBean
public VisualizerBean()
incrementMessageCounter
public void incrementMessageCounter()
getMessageCount
public int getMessageCount()
newRun
public void newRun()
- Configures visualizer bean for the new competition instance. Resets its
properties and increments Visualizer counter.
init
public void init()
getNominationPusher
public NominationPusher getNominationPusher()
setNominationPusher
public void setNominationPusher(NominationPusher nominationPusher)
getVisualizerRunCount
public int getVisualizerRunCount()
getCompetition
public org.powertac.common.Competition getCompetition()
setCompetition
public void setCompetition(org.powertac.common.Competition competition)
getTimeslotUpdate
public org.powertac.common.msg.TimeslotUpdate getTimeslotUpdate()
setTimeslotUpdate
public void setTimeslotUpdate(org.powertac.common.msg.TimeslotUpdate timeslotUpdate)
getSimulationStatus
public String getSimulationStatus()
setSimulationStatus
public void setSimulationStatus(String simulationStatus)
getCurrentTimeslotSerialNumber
public int getCurrentTimeslotSerialNumber()
setCurrentTimeslotSerialNumber
public void setCurrentTimeslotSerialNumber(int currentTimeslotSerialNumber)
isFinished
public boolean isFinished()
setFinished
public void setFinished(boolean finished)
isRunning
public boolean isRunning()
setRunning
public void setRunning(boolean running)
getCurrentMillis
public long getCurrentMillis()
getWeatherPusher
public WeatherPusher getWeatherPusher()
setWeatherPusher
public void setWeatherPusher(WeatherPusher weatherPusher)
setCurrentMillis
public void setCurrentMillis(long currentMillis)
getOldTimeslotUpdate
public org.powertac.common.msg.TimeslotUpdate getOldTimeslotUpdate()
setOldTimeslotUpdate
public void setOldTimeslotUpdate(org.powertac.common.msg.TimeslotUpdate oldTimeslotUpdate)
getTournamentMode
public Boolean getTournamentMode()
setTournamentMode
public void setTournamentMode(Boolean tournamentMode)
getTimeslotComplete
public org.powertac.common.msg.TimeslotComplete getTimeslotComplete()
setTimeslotComplete
public void setTimeslotComplete(org.powertac.common.msg.TimeslotComplete timeslotComplete)
Copyright © 2013 Power TAC. All Rights Reserved.