|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DTSModuleConfig
Defines the methods to access and save module specific properties.
Method Summary | |
---|---|
boolean |
getBooleanProperty(String prop,
boolean defaultValue)
Return the value of a boolean property type. |
int |
getIntProperty(String prop,
int defaultValue)
Return the value of an int property type. |
String |
getProperty(String prop)
Return the value of this property. |
String |
getProperty(String prop,
String defaultValue)
Returns the value of the specified property. |
void |
saveProperties()
Save any property values previously stored using the storeProperty method. |
void |
storeBooleanProperty(String prop,
boolean bool)
Store the boolean value for this property. |
void |
storeIntProperty(String prop,
int i)
Store the integer value for this property. |
void |
storeProperty(String prop,
String value)
Store the value for this property. |
Method Detail |
---|
String getProperty(String prop)
prop
- the name of this property
String getProperty(String prop, String defaultValue)
prop
- the name of this propertydefaultValue
- a default value to return if the property is not set
boolean getBooleanProperty(String prop, boolean defaultValue)
boolean
property type. The method
returns the default value argument if the property is not found.
prop
- the name of this propertydefaultValue
- a default value to return if the property is not set
int getIntProperty(String prop, int defaultValue)
int
property type. The method
returns the default value argument if the property is not found.
prop
- the name of this propertydefaultValue
- a default value to return if the property is not set
void storeProperty(String prop, String value)
prop
- the name of this propertyvalue
- a default value to return if the property is not setvoid storeBooleanProperty(String prop, boolean bool)
prop
- the name of this propertybool
- a default value to return if the property is not setvoid storeIntProperty(String prop, int i)
prop
- the name of this propertyi
- a default value to return if the property is not setvoid saveProperties() throws Exception
storeProperty
method.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |