|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigDataIF
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 |
---|
static final java.lang.String SET
Method Detail |
---|
boolean contains(java.lang.String key)
java.lang.String getString(java.lang.String key)
int getInt(java.lang.String key)
double getDouble(java.lang.String key)
boolean getBoolean(java.lang.String key)
java.lang.String[] getStringList(java.lang.String key)
void setString(java.lang.String key, java.lang.String val)
void setInt(java.lang.String key, int val)
void setDouble(java.lang.String key, double val)
void setBoolean(java.lang.String key, boolean val)
void setStringList(java.lang.String key, java.lang.String[] values)
ManagerIF getManager()
ManagerIF
StageIF getStage()
StageIF
void setStage(StageIF stage)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |