com.isti.trinetwatch.controlAgentSim
Class StationTypeLevelInfo

java.lang.Object
  extended by com.isti.trinetwatch.controlAgentSim.StationTypeLevelInfo

public class StationTypeLevelInfo
extends java.lang.Object

This class holds information about a given level.


Constructor Summary
StationTypeLevelInfo(int levelNum, int levelTimeout, java.lang.String scriptPath)
          Create a new object of type StationTypeLevelInfo.
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StationTypeLevelInfo

public StationTypeLevelInfo(int levelNum,
                            int levelTimeout,
                            java.lang.String scriptPath)
Create a new object of type StationTypeLevelInfo.

Parameters:
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.
Method Detail

getLevelNumber

public int getLevelNumber()
This method returns the level this object represents.

Returns:
An int indicating the level whose information this object holds.

getTimeout

public int getTimeout()
This method returns the timeout indicating the maximum length of time changeing to this level should take.

Returns:
An int indicating the maxium number of seconds chaning to this level should take.

getScriptPath

public java.lang.String getScriptPath()
This method returns the path for the script to execute when changing to this level.

Returns:
A string containing the path for the script to execute when changeing to this level.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object