|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigurationToAugeas
Mapping from RHQ configuration to Augeas tree.
| Method Summary | |
|---|---|
void |
setTree(AugeasTree tree)
Sets the tree the mapping should work with. |
void |
updateList(org.rhq.core.domain.configuration.definition.PropertyDefinitionList propDef,
org.rhq.core.domain.configuration.Property prop,
AugeasNode listNode,
int seq)
TODO this should be removed from the interface and made protected abstract in ConfigurationToAugeasSimple |
void |
updateMap(org.rhq.core.domain.configuration.definition.PropertyDefinitionMap propDefMap,
org.rhq.core.domain.configuration.Property prop,
AugeasNode mapNode,
int seq)
TODO this should be removed from the interface and made protected abstract in ConfigurationToAugeasSimple |
void |
updateProperty(org.rhq.core.domain.configuration.definition.PropertyDefinition propDef,
org.rhq.core.domain.configuration.Property parentProp,
AugeasNode parentNode,
int seq)
Performs updates in the tree based on the values in the single property (and its descendants). |
void |
updateResourceConfiguration(AugeasNode node,
org.rhq.core.domain.configuration.definition.ConfigurationDefinition resourceConfigDef,
org.rhq.core.domain.configuration.Configuration resourceConfig)
Updates the augeas tree with the data from the RHQ configuration |
void |
updateSimple(AugeasNode parentNode,
org.rhq.core.domain.configuration.definition.PropertyDefinitionSimple propDef,
org.rhq.core.domain.configuration.Property prop,
int seq)
TODO this should be removed from the interface and made protected abstract in ConfigurationToAugeasSimple |
| Method Detail |
|---|
void setTree(AugeasTree tree)
tree -
void updateResourceConfiguration(AugeasNode node,
org.rhq.core.domain.configuration.definition.ConfigurationDefinition resourceConfigDef,
org.rhq.core.domain.configuration.Configuration resourceConfig)
throws AugeasRhqException
node - the node to start updating the data fromresourceConfigDef - configuration definition of the configuration objectresourceConfig - the configuration object to read the data from
AugeasRhqException
void updateMap(org.rhq.core.domain.configuration.definition.PropertyDefinitionMap propDefMap,
org.rhq.core.domain.configuration.Property prop,
AugeasNode mapNode,
int seq)
throws AugeasRhqException
propDefMap - prop - mapNode - seq -
AugeasRhqException
void updateList(org.rhq.core.domain.configuration.definition.PropertyDefinitionList propDef,
org.rhq.core.domain.configuration.Property prop,
AugeasNode listNode,
int seq)
throws AugeasRhqException
propDef - prop - listNode - seq -
AugeasRhqException
void updateSimple(AugeasNode parentNode,
org.rhq.core.domain.configuration.definition.PropertyDefinitionSimple propDef,
org.rhq.core.domain.configuration.Property prop,
int seq)
throws AugeasRhqException
parentNode - propDef - prop - seq -
AugeasRhqException
void updateProperty(org.rhq.core.domain.configuration.definition.PropertyDefinition propDef,
org.rhq.core.domain.configuration.Property parentProp,
AugeasNode parentNode,
int seq)
throws AugeasRhqException
propDef - the property definition of the property we are applying to the treeparentProp - the parent property of the property we are dealing withparentNode - the parent node under which we should apply the propertyseq - the sequence number of the property we are applying inside the parentProp
AugeasRhqException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||