public final class StringListAttributeDefinition extends PrimitiveListAttributeDefinition
| Modifier and Type | Class and Description |
|---|---|
static class |
StringListAttributeDefinition.Builder |
AttributeDefinition.NameAndGroupattributeMarshaller, COMPLEX_TYPES, referenceRecorder| Modifier and Type | Method and Description |
|---|---|
void |
addCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue)
Based on the given attribute value, add capability requirements.
|
void |
removeCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue)
Based on the given attribute value, remove capability requirements.
|
List<String> |
unwrap(ExpressionResolver context,
org.jboss.dmr.ModelNode model) |
static List<String> |
unwrapValue(ExpressionResolver context,
org.jboss.dmr.ModelNode model) |
addAttributeValueTypeDescription, addOperationParameterValueTypeDescription, addResourceAttributeDescription, addValueTypeDescription, addValueTypeDescription, convertParameterElementExpressions, getValueTypeaddOperationParameterDescription, addOperationParameterDescription, addOperationReplyDescription, addOperationReplyValueTypeDescription, addResourceAttributeDescription, convertParameterExpressions, getElementValidator, marshallAsElement, parse, parseAndAddParameterElement, parseAndSetParameteraddAccessConstraints, addAllowedValuesToDescription, addCapabilityRequirements, addDeprecatedInfo, addOperationReplyDescription, convertStringExpression, correctValue, getAccessConstraints, getAllowedValues, getAlternatives, getArbitraryDescriptors, getAttributeDeprecatedDescription, getAttributeGroup, getAttributeMarshaller, getAttributeTextDescription, getCorrector, getDefaultValue, getDeprecationData, getFlags, getImmutableFlags, getMarshaller, getMeasurementUnit, getName, getNoTextDescription, getParser, getReferenceRecorder, getRequires, getType, getUndefinedMetricValue, getValidator, getXmlName, hasAlternative, hasCapabilityRequirements, isAllowed, isAllowExpression, isAllowNull, isDeprecated, isMarshallable, isMarshallable, isNillable, isNullSignificant, isRequired, isRequired, isResourceOnly, isValidatingNull, marshallAsElement, removeCapabilityRequirements, resolveModelAttribute, resolveModelAttribute, resolveValue, resolveValue, validateAndSet, validateOperationpublic List<String> unwrap(ExpressionResolver context, org.jboss.dmr.ModelNode model) throws OperationFailedException
OperationFailedExceptionpublic static List<String> unwrapValue(ExpressionResolver context, org.jboss.dmr.ModelNode model) throws OperationFailedException
OperationFailedExceptionpublic void addCapabilityRequirements(OperationContext context, Resource resource, org.jboss.dmr.ModelNode attributeValue)
AttributeDefinitionThis is a no-op in this base class. Subclasses that support attribute types that can represent capability references should override this method.
addCapabilityRequirements in class PrimitiveListAttributeDefinitioncontext - the operation contextattributeValue - the value of the attribute described by this objectpublic void removeCapabilityRequirements(OperationContext context, Resource resource, org.jboss.dmr.ModelNode attributeValue)
AttributeDefinitionThis is a no-op in this base class. Subclasses that support attribute types that can represent capability references should override this method.
removeCapabilityRequirements in class PrimitiveListAttributeDefinitioncontext - the operation contextresource - resource from which capability requirement is to be removed from, null is legal value
in case that CapabilityReferenceRecorder doesn't require it.attributeValue - the value of the attribute described by this objectCopyright © 2017 JBoss by Red Hat. All rights reserved.