@Service public class CompetitionSetupService extends Object implements org.powertac.common.interfaces.CompetitionSetup
PowerTacServer, orpreGame() method to
set up the environment and allow configuration of the next game, through
a web (or REST) interface.| Constructor and Description |
|---|
CompetitionSetupService()
Standard constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
bootSession(String bootFilename,
String config,
String logSuffix,
String seedData,
String weatherData) |
void |
preGame()
Pre-game server setup - creates the basic configuration elements
to make them accessible to the web-based game-setup functions.
|
boolean |
preGame(URL bootFile)
Sets up the simulator, with config overrides provided in a file.
|
void |
processCmdLine(String[] args)
Processes command-line arguments, which means looking for the specified
script file and processing that
|
String |
simSession(String bootData,
String config,
String jmsUrl,
String logfileSuffix,
List<String> brokerUsernames,
String seedData,
String weatherData,
String inputQueueName) |
public void processCmdLine(String[] args)
public String bootSession(String bootFilename, String config, String logSuffix, String seedData, String weatherData)
bootSession in interface org.powertac.common.interfaces.CompetitionSetuppublic String simSession(String bootData, String config, String jmsUrl, String logfileSuffix, List<String> brokerUsernames, String seedData, String weatherData, String inputQueueName)
simSession in interface org.powertac.common.interfaces.CompetitionSetuppublic void preGame()
preGame in interface org.powertac.common.interfaces.CompetitionSetuppublic boolean preGame(URL bootFile)
Copyright © 2015 Power TAC. All Rights Reserved.