|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.api.util.Configuration
public final class Configuration
Represents a singleton instance of the client's configuration parameters. These parameters are used to control the behavior for various features. In the absence of any setting for a specific parameter, via configuration or programmatic action, an appropriate default is used.
Method Summary | |
---|---|
static java.lang.Object |
getParameter(ConfigurationParameter parameter)
Retrieves a configured value. |
static void |
init(ConfigurationParameters parameters)
Initializes and configures the client API. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void init(ConfigurationParameters parameters)
parameters
- Configuration values to set on initialization.
The API is first configured internally. The parameter values specified on this
call, if any, override the values from the internal initialization and configuration.
API_INITIALIZED
- if the API has previously been initialized.public static java.lang.Object getParameter(ConfigurationParameter parameter)
A return value of null
indicates that no value has been explicitly configured
for the requested parameter and an appropriate default value for the parameter is used instead.
parameter
- The parameter for the value to retrieve. See
ConfigurationParameter
.
Object
associated with the requested parameter value. If no
value has been configured for the requested parameter, this method returns null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |