public class ObjectMapAttributeDefinition extends MapAttributeDefinition
MapAttributeDefinition for maps with keys of ModelType.STRING and values of type ObjectTypeAttributeDefinition| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectMapAttributeDefinition.Builder |
AttributeDefinition.NameAndGroupLIST_TO_MAP_CORRECTORattributeMarshaller, COMPLEX_TYPES, referenceRecorder| Modifier and Type | Method and Description |
|---|---|
protected void |
addAttributeValueTypeDescription(org.jboss.dmr.ModelNode node,
ResourceDescriptionResolver resolver,
Locale locale,
ResourceBundle bundle) |
void |
addCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue)
Based on the given attribute value, add capability requirements.
|
protected void |
addOperationParameterValueTypeDescription(org.jboss.dmr.ModelNode node,
String operationName,
ResourceDescriptionResolver resolver,
Locale locale,
ResourceBundle bundle) |
protected void |
addValueTypeDescription(org.jboss.dmr.ModelNode node,
ResourceBundle bundle) |
protected void |
addValueTypeDescription(org.jboss.dmr.ModelNode node,
String prefix,
ResourceBundle bundle,
boolean forOperation,
ResourceDescriptionResolver resolver,
Locale locale) |
static ObjectMapAttributeDefinition.Builder |
create(String name,
ObjectTypeAttributeDefinition valueType) |
ObjectTypeAttributeDefinition |
getValueType() |
void |
removeCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue)
Based on the given attribute value, remove capability requirements.
|
addOperationParameterDescription, addOperationParameterDescription, addOperationReplyDescription, addResourceAttributeDescription, addResourceAttributeDescription, convertParameterElementExpressions, convertParameterExpressions, getElementValidator, marshallAsElement, parse, parseAndAddParameterElementaddAccessConstraints, 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 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 AttributeDefinitioncontext - 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 AttributeDefinitioncontext - 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 objectprotected void addOperationParameterValueTypeDescription(org.jboss.dmr.ModelNode node,
String operationName,
ResourceDescriptionResolver resolver,
Locale locale,
ResourceBundle bundle)
addOperationParameterValueTypeDescription in class MapAttributeDefinitionprotected void addValueTypeDescription(org.jboss.dmr.ModelNode node,
ResourceBundle bundle)
addValueTypeDescription in class MapAttributeDefinitionprotected void addAttributeValueTypeDescription(org.jboss.dmr.ModelNode node,
ResourceDescriptionResolver resolver,
Locale locale,
ResourceBundle bundle)
addAttributeValueTypeDescription in class MapAttributeDefinitionprotected void addValueTypeDescription(org.jboss.dmr.ModelNode node,
String prefix,
ResourceBundle bundle,
boolean forOperation,
ResourceDescriptionResolver resolver,
Locale locale)
public final ObjectTypeAttributeDefinition getValueType()
public static ObjectMapAttributeDefinition.Builder create(String name, ObjectTypeAttributeDefinition valueType)
Copyright © 2021 JBoss by Red Hat. All rights reserved.