public enum DirectiveMapping extends Enum<DirectiveMapping>
| Enum Constant and Description |
|---|
DIRECTIVE_PER_MAP |
DIRECTIVE_PER_MAP_INDEX |
PARAM_PER_MAP |
POSITION_PROPERTY |
SIMPLE_PROP |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
mapToAugeas(AugeasTree tree,
AugeasNode node,
org.rhq.core.domain.configuration.Configuration config,
org.rhq.core.domain.configuration.definition.ConfigurationDefinition configDef) |
abstract org.rhq.core.domain.configuration.Configuration |
mapToConfiguration(AugeasTree tree,
AugeasNode startNode,
org.rhq.core.domain.configuration.definition.ConfigurationDefinition resourceConfigDef)
Creates the configuration based on the supplied configuration definition,
parsing the augeas tree starting at the start node.
|
static DirectiveMapping |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DirectiveMapping[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectiveMapping DIRECTIVE_PER_MAP
public static final DirectiveMapping PARAM_PER_MAP
public static final DirectiveMapping DIRECTIVE_PER_MAP_INDEX
public static final DirectiveMapping POSITION_PROPERTY
public static final DirectiveMapping SIMPLE_PROP
public static DirectiveMapping[] values()
for (DirectiveMapping c : DirectiveMapping.values()) System.out.println(c);
public static DirectiveMapping valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract org.rhq.core.domain.configuration.Configuration mapToConfiguration(AugeasTree tree, AugeasNode startNode, org.rhq.core.domain.configuration.definition.ConfigurationDefinition resourceConfigDef)
tree - the augeas treestartNode - the starting noderesourceConfigDef - the config definitionpublic abstract void mapToAugeas(AugeasTree tree, AugeasNode node, org.rhq.core.domain.configuration.Configuration config, org.rhq.core.domain.configuration.definition.ConfigurationDefinition configDef)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.