@Immutable public class MappedSimpleAttributeDefinition extends org.jboss.as.controller.SimpleAttributeDefinition implements MappedAttributeDefinition
Modifier | Constructor and Description |
---|---|
protected |
MappedSimpleAttributeDefinition(MappedAttributeDefinitionBuilder builder,
List<String> pathToFieldInConfiguration) |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName()
Get the name of the mapped field in the
RepositoryConfiguration . |
List<String> |
getPathToContainerOfField()
Get the path to the field that contains the mapped field within the
RepositoryConfiguration . |
List<String> |
getPathToField()
Get the path to the field within the
RepositoryConfiguration . |
Object |
getTypedValue(ModelNode node)
Obtain from the supplied model node value the value that can be used in the RepositoryConfiguration field.
|
protected static Object |
getTypedValue(ModelNode node,
org.jboss.as.controller.AttributeDefinition defn) |
marshallAsAttribute, marshallAsAttribute, marshallAsElement, parse, parseAndSetParameter
addAccessConstraints, addAllowedValuesToDescription, addCapabilityRequirements, addDeprecatedInfo, addOperationParameterDescription, addOperationParameterDescription, addResourceAttributeDescription, addResourceAttributeDescription, convertParameterExpressions, convertStringExpression, correctValue, getAccessConstraints, getAllowedValues, getAlternatives, getArbitraryDescriptors, getAttributeDeprecatedDescription, getAttributeGroup, getAttributeMarshaller, getAttributeTextDescription, getCorrector, getDefaultValue, getDeprecationData, getFlags, getMeasurementUnit, getName, getNoTextDescription, getParser, getReferenceRecorder, getRequires, getType, getUndefinedMetricValue, getValidator, getXmlName, hasAlternative, hasCapabilityRequirements, isAllowed, isAllowExpression, isAllowNull, isDeprecated, isMarshallable, isMarshallable, isNullSignificant, isRequired, isResourceOnly, isValidatingNull, marshallAsElement, removeCapabilityRequirements, resolveModelAttribute, resolveModelAttribute, resolveValue, resolveValue, validateAndSet, validateOperation
protected MappedSimpleAttributeDefinition(MappedAttributeDefinitionBuilder builder, List<String> pathToFieldInConfiguration)
builder
- the simple attribute definition builderpathToFieldInConfiguration
- the path to the field within the RepositoryConfiguration
documentpublic List<String> getPathToField()
MappedAttributeDefinition
RepositoryConfiguration
.getPathToField
in interface MappedAttributeDefinition
public List<String> getPathToContainerOfField()
MappedAttributeDefinition
RepositoryConfiguration
.getPathToContainerOfField
in interface MappedAttributeDefinition
public String getFieldName()
MappedAttributeDefinition
RepositoryConfiguration
.getFieldName
in interface MappedAttributeDefinition
public Object getTypedValue(ModelNode node) throws org.jboss.as.controller.OperationFailedException
MappedAttributeDefinition
getTypedValue
in interface MappedAttributeDefinition
node
- the model node valueorg.jboss.as.controller.OperationFailedException
- if there was an error obtaining the value from the model nodeprotected static Object getTypedValue(ModelNode node, org.jboss.as.controller.AttributeDefinition defn) throws org.jboss.as.controller.OperationFailedException
org.jboss.as.controller.OperationFailedException
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.