public class MappedListAttributeDefinition extends org.jboss.as.controller.SimpleListAttributeDefinition implements MappedAttributeDefinition
Modifier and Type | Class and Description |
---|---|
static class |
MappedListAttributeDefinition.Builder |
Modifier | Constructor and Description |
---|---|
protected |
MappedListAttributeDefinition(org.jboss.as.controller.SimpleListAttributeDefinition.Builder builder,
org.jboss.as.controller.SimpleAttributeDefinition valueType,
List<String> pathToFieldInConfiguration) |
Modifier and Type | Method and Description |
---|---|
ModelNode |
getDefaultValue() |
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.
|
addAttributeValueTypeDescription, addCapabilityRequirements, addOperationParameterDescription, addOperationParameterValueTypeDescription, addResourceAttributeDescription, addValueTypeDescription, addValueTypeDescription, convertParameterElementExpressions, getReferenceRecorder, getValueType, hasCapabilityRequirements, removeCapabilityRequirements
addOperationParameterDescription, addResourceAttributeDescription, convertParameterExpressions, getElementValidator, marshallAsElement, parse, parseAndAddParameterElement, parseAndSetParameter
addAccessConstraints, addAllowedValuesToDescription, addDeprecatedInfo, convertStringExpression, correctValue, getAccessConstraints, getAllowedValues, getAlternatives, getArbitraryDescriptors, getAttributeDeprecatedDescription, getAttributeGroup, getAttributeMarshaller, getAttributeTextDescription, getCorrector, getDeprecationData, getFlags, getMeasurementUnit, getName, getNoTextDescription, getParser, getRequires, getType, getUndefinedMetricValue, getValidator, getXmlName, hasAlternative, isAllowed, isAllowExpression, isAllowNull, isDeprecated, isMarshallable, isMarshallable, isNullSignificant, isRequired, isResourceOnly, isValidatingNull, marshallAsElement, resolveModelAttribute, resolveModelAttribute, resolveValue, resolveValue, validateAndSet, validateOperation
public 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 nodepublic ModelNode getDefaultValue()
getDefaultValue
in class org.jboss.as.controller.AttributeDefinition
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.