Package za.co.wethinkcode.robots.cli
Class ServerOptions
java.lang.Object
za.co.wethinkcode.robots.cli.ServerOptions
Defines the command-line options used to start a Robot World server.
This class resolves documented defaults, validates server-specific values,
parses the optional custom obstacle, and applies the complete result to a
WorldConfig before the server constructs its world.
-
Field Details
-
WEB_API_PORT
public static final int WEB_API_PORT- See Also:
-
-
Constructor Details
-
ServerOptions
public ServerOptions()
-
-
Method Details
-
connection
-
ipAddress
Deprecated. -
port
public int port() -
debugLevel
-
worldSize
public int worldSize() -
mazeType
public int mazeType() -
obstacle
-
pit
-
validate
public void validate() -
applyTo
-