Difference between revisions of "Static Configuration Parameter"
(Created page with "Follow these steps to define a configuration parameter # define a constant string e.g.:public static final String P_DEBUG_LEVEL = "debuglevel" # add the property within the ge...") |
m (Herret moved page Config Parameter to Static Configuration Parameter without leaving a redirect) |
(No difference)
|
Latest revision as of 11:59, 4 July 2013
Follow these steps to define a configuration parameter
- define a constant string e.g.:public static final String P_DEBUG_LEVEL = "debuglevel"
- add the property within the getDefaultProperties() method e.g: oProp.setProperty(pre+P_DEBUG_LEVEL, "DEBUG")
- load the property within the applyProperties() method e.g: moDebugLevel = poProp.getPropertyString(pre+P_DEBUG_LEVEL);