@Service public class CompetitionSetupService extends Object implements 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 configFilename,
String gameId,
String logfileSuffix,
String seedData,
String weatherData) |
String |
bootSession(String bootFilename,
String config,
String game,
String logSuffix,
String seedData,
String weatherData,
String configDump)
Starts a boot session with the given arguments.
|
void |
preGame()
Pre-game server setup - creates the basic configuration elements
to make them accessible to the web-based game-setup functions.
|
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 gameId,
String logfileSuffix,
List<String> brokerUsernames,
String seedData,
String weatherData,
String inputQueueName) |
String |
simSession(String bootData,
String config,
String jmsUrl,
String game,
String logSuffix,
List<String> brokerUsernames,
String seedData,
String weatherData,
String inputQueueName,
String configOutput) |
public void processCmdLine(String[] args)
public String bootSession(String bootFilename, String config, String game, String logSuffix, String seedData, String weatherData, String configDump)
bootSession in interface CompetitionSetuppublic String bootSession(String bootFilename, String configFilename, String gameId, String logfileSuffix, String seedData, String weatherData)
bootSession in interface CompetitionSetuppublic String simSession(String bootData, String config, String jmsUrl, String game, String logSuffix, List<String> brokerUsernames, String seedData, String weatherData, String inputQueueName, String configOutput)
simSession in interface CompetitionSetuppublic String simSession(String bootData, String config, String jmsUrl, String gameId, String logfileSuffix, List<String> brokerUsernames, String seedData, String weatherData, String inputQueueName)
simSession in interface CompetitionSetuppublic void preGame()
preGame in interface CompetitionSetupCopyright © 2018 Power TAC. All rights reserved.