Class CompetitionService
- java.lang.Object
-
- org.powertac.visualizer.service_ptac.CompetitionService
-
@Service public class CompetitionService extends Object
- Author:
- Jurica Babic, Govert Buijs, Erik Kemperman
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CompetitionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBootstrapDiscardedTimeslots()
int
getBootstrapTimeslotCount()
int
getDeactivateTimeslotsAhead()
String
getDescription()
int
getExpectedTimeslotCount()
long
getId()
long
getIdPowerTacCompetition()
int
getLatitude()
double
getMinimumOrderQuantity()
int
getMinimumTimeslotCount()
String
getName()
org.joda.time.Instant
getSimulationBaseTime()
long
getSimulationModulo()
long
getSimulationRate()
long
getTimeslotDuration()
int
getTimeslotLength()
int
getTimeslotsOpen()
int
getTimezoneOffset()
void
setCurrent(Competition comp)
-
-
-
Method Detail
-
setCurrent
public void setCurrent(Competition comp)
-
getId
public long getId()
-
getIdPowerTacCompetition
public long getIdPowerTacCompetition()
-
getTimeslotDuration
public long getTimeslotDuration()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getTimeslotLength
public int getTimeslotLength()
-
getBootstrapTimeslotCount
public int getBootstrapTimeslotCount()
-
getBootstrapDiscardedTimeslots
public int getBootstrapDiscardedTimeslots()
-
getMinimumTimeslotCount
public int getMinimumTimeslotCount()
-
getExpectedTimeslotCount
public int getExpectedTimeslotCount()
-
getTimeslotsOpen
public int getTimeslotsOpen()
-
getDeactivateTimeslotsAhead
public int getDeactivateTimeslotsAhead()
-
getMinimumOrderQuantity
public double getMinimumOrderQuantity()
-
getSimulationBaseTime
public org.joda.time.Instant getSimulationBaseTime()
-
getTimezoneOffset
public int getTimezoneOffset()
-
getLatitude
public int getLatitude()
-
getSimulationRate
public long getSimulationRate()
-
getSimulationModulo
public long getSimulationModulo()
-
-