public final class StringListAttributeDefinition extends PrimitiveListAttributeDefinition
Modifier and Type | Class and Description |
---|---|
static class |
StringListAttributeDefinition.Builder |
AttributeDefinition.NameAndGroup
attributeMarshaller, COMPLEX_TYPES, referenceRecorder
Modifier and Type | Method and Description |
---|---|
void |
addCapabilityRequirements(OperationContext context,
org.jboss.dmr.ModelNode attributeValue)
Based on the given attribute value, add capability requirements.
|
void |
removeCapabilityRequirements(OperationContext context,
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, getValueType
addOperationParameterDescription, addOperationParameterDescription, addResourceAttributeDescription, convertParameterExpressions, getElementValidator, marshallAsElement, parse, parseAndAddParameterElement, parseAndSetParameter
addAccessConstraints, addAllowedValuesToDescription, addDeprecatedInfo, 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, resolveModelAttribute, resolveModelAttribute, resolveValue, resolveValue, validateAndSet, validateOperation
public List<String> unwrap(ExpressionResolver context, org.jboss.dmr.ModelNode model) throws OperationFailedException
OperationFailedException
public static List<String> unwrapValue(ExpressionResolver context, org.jboss.dmr.ModelNode model) throws OperationFailedException
OperationFailedException
public void addCapabilityRequirements(OperationContext context, org.jboss.dmr.ModelNode attributeValue)
AttributeDefinition
This 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 PrimitiveListAttributeDefinition
context
- the operation contextattributeValue
- the value of the attribute described by this objectpublic void removeCapabilityRequirements(OperationContext context, org.jboss.dmr.ModelNode attributeValue)
AttributeDefinition
This 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 PrimitiveListAttributeDefinition
context
- the operation contextattributeValue
- the value of the attribute described by this objectCopyright © 2023 JBoss by Red Hat. All rights reserved.