public class SubstitutionPropertiesProvider extends CompositePropertiesProvider
PropertiesProvider that is applying placeholder substitution based on the property values of an external PropertiesProvider.| Constructor and Description |
|---|
SubstitutionPropertiesProvider(PropertiesProvider... delegates) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(String key)
Returns the value of the specified property.
|
Object |
getProperty(String key,
Object defaultValue)
Returns the value of the specified property.
|
getRequiredPropertypublic SubstitutionPropertiesProvider(PropertiesProvider... delegates)
public Object getProperty(String key)
PropertiesProvidernull if the property is not found.getProperty in interface PropertiesProvidergetProperty in class AbstractPropertiesProviderkey - The name of the requested property.null if the
property is undefined.public Object getProperty(String key, Object defaultValue)
PropertiesProvidergetProperty in interface PropertiesProvidergetProperty in class CompositePropertiesProviderkey - The name of the requested property.Copyright © 2014 JBoss by Red Hat. All rights reserved.