@Service public class VisualizerBean extends Object implements Serializable
| Constructor and Description |
|---|
VisualizerBean() |
| Modifier and Type | Method and Description |
|---|---|
org.powertac.common.Competition |
getCompetition() |
long |
getCurrentMillis() |
int |
getCurrentTimeslotSerialNumber() |
int |
getMessageCount() |
NominationPusher |
getNominationPusher() |
org.powertac.common.msg.TimeslotUpdate |
getOldTimeslotUpdate() |
String |
getSimulationStatus() |
org.powertac.common.msg.TimeslotComplete |
getTimeslotComplete() |
org.powertac.common.msg.TimeslotUpdate |
getTimeslotUpdate() |
Boolean |
getTournamentMode() |
int |
getVisualizerRunCount() |
WeatherPusher |
getWeatherPusher() |
void |
incrementMessageCounter() |
void |
init() |
boolean |
isFinished() |
boolean |
isRunning() |
void |
newRun()
Configures visualizer bean for the new competition instance.
|
void |
setCompetition(org.powertac.common.Competition competition) |
void |
setCurrentMillis(long currentMillis) |
void |
setCurrentTimeslotSerialNumber(int currentTimeslotSerialNumber) |
void |
setFinished(boolean finished) |
void |
setNominationPusher(NominationPusher nominationPusher) |
void |
setOldTimeslotUpdate(org.powertac.common.msg.TimeslotUpdate oldTimeslotUpdate) |
void |
setRunning(boolean running) |
void |
setSimulationStatus(String simulationStatus) |
void |
setTimeslotComplete(org.powertac.common.msg.TimeslotComplete timeslotComplete) |
void |
setTimeslotUpdate(org.powertac.common.msg.TimeslotUpdate timeslotUpdate) |
void |
setTournamentMode(Boolean tournamentMode) |
void |
setWeatherPusher(WeatherPusher weatherPusher) |
public void incrementMessageCounter()
public int getMessageCount()
public void newRun()
public void init()
public NominationPusher getNominationPusher()
public void setNominationPusher(NominationPusher nominationPusher)
public int getVisualizerRunCount()
public org.powertac.common.Competition getCompetition()
public void setCompetition(org.powertac.common.Competition competition)
public org.powertac.common.msg.TimeslotUpdate getTimeslotUpdate()
public void setTimeslotUpdate(org.powertac.common.msg.TimeslotUpdate timeslotUpdate)
public String getSimulationStatus()
public void setSimulationStatus(String simulationStatus)
public int getCurrentTimeslotSerialNumber()
public void setCurrentTimeslotSerialNumber(int currentTimeslotSerialNumber)
public boolean isFinished()
public void setFinished(boolean finished)
public boolean isRunning()
public void setRunning(boolean running)
public long getCurrentMillis()
public WeatherPusher getWeatherPusher()
public void setWeatherPusher(WeatherPusher weatherPusher)
public void setCurrentMillis(long currentMillis)
public org.powertac.common.msg.TimeslotUpdate getOldTimeslotUpdate()
public void setOldTimeslotUpdate(org.powertac.common.msg.TimeslotUpdate oldTimeslotUpdate)
public Boolean getTournamentMode()
public void setTournamentMode(Boolean tournamentMode)
public org.powertac.common.msg.TimeslotComplete getTimeslotComplete()
public void setTimeslotComplete(org.powertac.common.msg.TimeslotComplete timeslotComplete)
Copyright © 2014 Power TAC. All Rights Reserved.