public class StationTypeLevelInfo
extends java.lang.Object
| Constructor and Description |
|---|
StationTypeLevelInfo(int levelNum,
int levelTimeout,
java.lang.String scriptPath)
Create a new object of type StationTypeLevelInfo.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLevelNumber()
This method returns the level this object represents.
|
java.lang.String |
getScriptPath()
This method returns the path for the script to execute when changing to
this level.
|
int |
getTimeout()
This method returns the timeout indicating the maximum length of time
changeing to this level should take.
|
java.lang.String |
toString() |
public StationTypeLevelInfo(int levelNum,
int levelTimeout,
java.lang.String scriptPath)
levelNum - The number of the level this object will hold information
for.levelTimeout - The maximum length of time changeing to this level
will take.scriptPath - The path to the script to be executed when changing to
this level.public int getLevelNumber()
public int getTimeout()
public java.lang.String getScriptPath()
public java.lang.String toString()
toString in class java.lang.Object