|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AugeasToConfiguration
Implementations of this interface provide mapping of Augeas data to the RHQ configuration.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 use
AugeasRhqException
org.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.
AugeasRhqException
org.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 for
AugeasRhqException
org.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 node
AugeasRhqException
org.rhq.core.domain.configuration.Property createPropertyList(org.rhq.core.domain.configuration.definition.PropertyDefinitionList propDefList,
AugeasNode parentNode)
throws AugeasRhqException
propDefList - parentNode -
AugeasRhqException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||