Package com.polarion.platform.config
Interface IConfigService
Deprecated.
Serves the configuration which does not change during runtime.
- Author:
- POLARION SOFTWARE
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.environment properties are the same as normal properties -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.usegetProperties()
getApplicationProperties
(String prefix) Deprecated.without replacementDeprecated.Returns all available properties.getPropertyValue
(String propertyName) Deprecated.Returns value of given property.Deprecated.Returns all properties which can be made public (passed to spawned programs etc.)boolean
isPublicProperty
(String propertyName) Deprecated.Whether given property is public or not.
-
Field Details
-
ENVIROMENT_PREFIX
Deprecated.environment properties are the same as normal propertiesPrefix for enviroment properties- See Also:
-
-
Method Details
-
getApplicationProperties
Deprecated.usegetProperties()
- Returns:
- all loaded
Properties
.
-
getApplicationProperties
Deprecated.without replacement- Parameters:
prefix
- - the prefix of property name- Returns:
- the
Properties
which names start form given prefix
-
getProperties
Properties getProperties()Deprecated.Returns all available properties.- Returns:
- all properties (not
null
)
-
getPublicProperties
Properties getPublicProperties()Deprecated.Returns all properties which can be made public (passed to spawned programs etc.)- Returns:
- all public properties (not
null
)
-
isPublicProperty
Deprecated.Whether given property is public or not.- Parameters:
propertyName
- property name (notnull
)- Returns:
true
if given property is public
-
getPropertyValue
Deprecated.Returns value of given property.- Parameters:
propertyName
- name of property to return- Returns:
- the value of selected property or
null
if property does not exist
-
System.getProperty(String)
to access all configuration properties.