|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ConfigDataIF is used to pass configuration arguments to stages. When a stage is initialized, a ConfigDataIF is passed to its 'init()' method.
Field Summary | |
static java.lang.String |
SET
The default value for a string key with no other specified value. |
Method Summary | |
boolean |
contains(java.lang.String key)
Returns true if the given key is set in the configuration. |
boolean |
getBoolean(java.lang.String key)
Get the boolean value corresponding to the given configuration key. |
double |
getDouble(java.lang.String key)
Get the double value corresponding to the given configuration key. |
int |
getInt(java.lang.String key)
Get the integer value corresponding to the given configuration key. |
ManagerIF |
getManager()
Return a handle to the system manager. |
StageIF |
getStage()
Return the StageIF for this stage. |
java.lang.String |
getString(java.lang.String key)
Get the string value corresponding to the given configuration key. |
java.lang.String[] |
getStringList(java.lang.String key)
Get the value corresponding to the given configuration key as a list of Strings. |
void |
setBoolean(java.lang.String key,
boolean val)
Set the given configuration key to the given boolean value. |
void |
setDouble(java.lang.String key,
double val)
Set the given configuration key to the given double value. |
void |
setInt(java.lang.String key,
int val)
Set the given configuration key to the given integer value. |
void |
setStage(StageIF stage)
Used to set the StageIF when initializing a ConfigDataIF. |
void |
setString(java.lang.String key,
java.lang.String val)
Set the given configuration key to the given string value. |
void |
setStringList(java.lang.String key,
java.lang.String[] values)
Set the value corresponding to the given configuration key as a list of Strings. |
Field Detail |
public static final java.lang.String SET
Method Detail |
public boolean contains(java.lang.String key)
public java.lang.String getString(java.lang.String key)
public int getInt(java.lang.String key)
public double getDouble(java.lang.String key)
public boolean getBoolean(java.lang.String key)
public java.lang.String[] getStringList(java.lang.String key)
public void setString(java.lang.String key, java.lang.String val)
public void setInt(java.lang.String key, int val)
public void setDouble(java.lang.String key, double val)
public void setBoolean(java.lang.String key, boolean val)
public void setStringList(java.lang.String key, java.lang.String[] values)
public ManagerIF getManager()
ManagerIF
public StageIF getStage()
StageIF
public void setStage(StageIF stage)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |