public interface AugeasToConfiguration
| Modifier and Type | Method and Description |
|---|---|
org.rhq.core.domain.configuration.Property |
createPropertyList(org.rhq.core.domain.configuration.definition.PropertyDefinitionList propDefList,
AugeasNode parentNode)
TODO this should be removed from the interface and made protected abstract in AugeasToConfigurationSimple
Creates a property list from the data in the parent node.
|
org.rhq.core.domain.configuration.PropertyMap |
createPropertyMap(org.rhq.core.domain.configuration.definition.PropertyDefinitionMap propDefMap,
AugeasNode parentNode)
TODO this should be removed from the interface and made protected abstract in AugeasToConfigurationSimple
Creates a map property from the data in the parent node.
|
org.rhq.core.domain.configuration.Property |
createPropertySimple(org.rhq.core.domain.configuration.definition.PropertyDefinitionSimple propDefSimple,
AugeasNode parentNode)
TODO this should be removed from the interface and made protected abstract in AugeasToConfigurationSimple
Creates a simple property from the property definition.
|
org.rhq.core.domain.configuration.Property |
loadProperty(org.rhq.core.domain.configuration.definition.PropertyDefinition propDef,
AugeasNode parentNode)
Loads a single property from given node.
|
org.rhq.core.domain.configuration.Configuration |
loadResourceConfiguration(AugeasNode startNode,
org.rhq.core.domain.configuration.definition.ConfigurationDefinition resourceConfigDef)
Loads the RHQ configuration instance from the Augeas tree.
|
void |
setNameMap(NameMap nameMap)
Provides the mapper with name conversion from Augeas node names to RHQ
configuration property names.
|
void |
setTree(AugeasTree tree)
Sets the Augeas tree that should be worked with.
|
void setTree(AugeasTree tree)
tree - void setNameMap(NameMap nameMap)
nameMap - org.rhq.core.domain.configuration.Configuration loadResourceConfiguration(AugeasNode startNode, org.rhq.core.domain.configuration.definition.ConfigurationDefinition resourceConfigDef) throws AugeasRhqException
startNode - the node to start the mapping fromresourceConfigDef - the configuration definition to useAugeasRhqExceptionorg.rhq.core.domain.configuration.Property loadProperty(org.rhq.core.domain.configuration.definition.PropertyDefinition propDef,
AugeasNode parentNode)
throws AugeasRhqException
propDef - the definition of the propertyparentNode - the parent node from which the property should be loaded.AugeasRhqExceptionorg.rhq.core.domain.configuration.Property createPropertySimple(org.rhq.core.domain.configuration.definition.PropertyDefinitionSimple propDefSimple,
AugeasNode parentNode)
throws AugeasRhqException
propDefSimple - the definition of the propertyparentNode - the parent node where the property should be looked forAugeasRhqExceptionorg.rhq.core.domain.configuration.PropertyMap createPropertyMap(org.rhq.core.domain.configuration.definition.PropertyDefinitionMap propDefMap,
AugeasNode parentNode)
throws AugeasRhqException
propDefMap - the definition of the property mapparentNode - the parent nodeAugeasRhqExceptionorg.rhq.core.domain.configuration.Property createPropertyList(org.rhq.core.domain.configuration.definition.PropertyDefinitionList propDefList,
AugeasNode parentNode)
throws AugeasRhqException
propDefList - parentNode - AugeasRhqExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.