| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAttributeDefinitionBuilder<BUILDER extends AbstractAttributeDefinitionBuilder,ATTRIBUTE extends AttributeDefinition>
Provides a builder API for creating an
AttributeDefinition. |
| Modifier and Type | Class and Description |
|---|---|
class |
ListAttributeDefinition
Defining characteristics of an
ModelType.LIST attribute in a Resource, with utility
methods for conversion to and from xml and for validation. |
class |
MapAttributeDefinition
Defining characteristics of an
ModelType.OBJECT attribute in a Resource,
where all children of the object have values of the same type; i.e. |
class |
ObjectListAttributeDefinition
AttributeDefinition suitable for managing LISTs of OBJECTs, which takes into account
recursive processing of allowed values and their value types.
|
class |
ObjectTypeAttributeDefinition
AttributeDefinition for attributes of type ModelType.OBJECT that aren't simple maps, but
rather a set fixed keys where each key may be associated with a value of a different type. |
class |
PrimitiveListAttributeDefinition
Date: 13.10.2011
|
class |
PropertiesAttributeDefinition
Represents simple key=value map equivalent of java.util.Map
|
class |
SimpleAttributeDefinition
Defining characteristics of an attribute in a
Resource or a
parameter or reply value type field in an OperationDefinition, with utility
methods for conversion to and from xml and for validation. |
class |
SimpleListAttributeDefinition
AttributeDefinition for attributes that represent lists with
simple element types (i.e. |
class |
SimpleMapAttributeDefinition
MapAttributeDefinition for maps with keys of ModelType.STRING. |
class |
StringListAttributeDefinition |
| Modifier and Type | Field and Description |
|---|---|
protected AttributeDefinition[] |
SimpleOperationDefinitionBuilder.parameters |
protected AttributeDefinition[] |
OperationDefinition.parameters |
protected AttributeDefinition[] |
SimpleOperationDefinitionBuilder.replyParameters |
protected AttributeDefinition[] |
OperationDefinition.replyParameters |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,AttributeDefinition> |
PersistentResourceXMLDescription.attributeElements |
protected LinkedList<AttributeDefinition> |
PersistentResourceXMLDescription.PersistentResourceXMLBuilder.attributeList |
protected Collection<? extends AttributeDefinition> |
AbstractAddStepHandler.attributes |
protected Set<AttributeDefinition> |
AbstractAddStepHandler.Parameters.attributes |
protected LinkedHashMap<String,LinkedHashMap<String,AttributeDefinition>> |
PersistentResourceXMLDescription.attributesByGroup |
| Modifier and Type | Method and Description |
|---|---|
protected AttributeDefinition |
AbstractWriteAttributeHandler.getAttributeDefinition(String attributeName)
Gets the
AttributeDefinition provided to the constructor (if present) whose
name matches the given attributeName. |
AttributeDefinition[] |
OperationDefinition.getParameters() |
AttributeDefinition[] |
OperationDefinition.getReplyParameters() |
AttributeDefinition |
SimpleListAttributeDefinition.getValueType() |
| Modifier and Type | Method and Description |
|---|---|
abstract Collection<AttributeDefinition> |
PersistentResourceDefinition.getAttributes() |
| Modifier and Type | Method and Description |
|---|---|
AbstractAddStepHandler.Parameters |
AbstractAddStepHandler.Parameters.addAttribute(AttributeDefinition... attributeDefinitions) |
PersistentResourceXMLDescription.PersistentResourceXMLBuilder |
PersistentResourceXMLDescription.PersistentResourceXMLBuilder.addAttribute(AttributeDefinition attribute) |
PersistentResourceXMLDescription.PersistentResourceXMLBuilder |
PersistentResourceXMLDescription.PersistentResourceXMLBuilder.addAttribute(AttributeDefinition attribute,
AttributeParser attributeParser) |
PersistentResourceXMLDescription.PersistentResourceXMLBuilder |
PersistentResourceXMLDescription.PersistentResourceXMLBuilder.addAttribute(AttributeDefinition attribute,
AttributeParser attributeParser,
AttributeMarshaller attributeMarshaller) |
PersistentResourceXMLDescription.PersistentResourceXMLBuilder |
PersistentResourceXMLDescription.PersistentResourceXMLBuilder.addAttributes(AttributeDefinition... attributes) |
ResourceBuilder |
ResourceBuilder.addMetric(AttributeDefinition attributeDefinition,
OperationStepHandler handler) |
ResourceBuilder |
ResourceBuilder.addMetrics(OperationStepHandler metricHandler,
AttributeDefinition... attributes) |
SimpleOperationDefinitionBuilder |
SimpleOperationDefinitionBuilder.addParameter(AttributeDefinition parameter) |
ResourceBuilder |
ResourceBuilder.addReadOnlyAttribute(AttributeDefinition attributeDefinition) |
ResourceBuilder |
ResourceBuilder.addReadWriteAttribute(AttributeDefinition attributeDefinition,
OperationStepHandler reader,
OperationStepHandler writer) |
ResourceBuilder |
ResourceBuilder.addReadWriteAttributes(OperationStepHandler reader,
OperationStepHandler writer,
AttributeDefinition... attributes) |
String |
AttributeParsers.PropertiesParser.getXmlName(AttributeDefinition attribute) |
String |
AttributeParser.getXmlName(AttributeDefinition attribute) |
boolean |
AttributeMarshaller.isMarshallable(AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel)
Gets whether the given
resourceModel has a value for this attribute that should be marshalled to XML. |
boolean |
AttributeMarshallers.PropertiesAttributeMarshaller.isMarshallable(AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
boolean marshallDefault) |
boolean |
AttributeMarshaller.isMarshallable(AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
boolean marshallDefault)
Gets whether the given
resourceModel has a value for this attribute that should be marshalled to XML. |
void |
AttributeMarshaller.marshall(AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
boolean marshallDefault,
XMLStreamWriter writer) |
void |
AttributeMarshallers.PropertiesAttributeMarshaller.marshallAsAttribute(AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
boolean marshallDefault,
XMLStreamWriter writer) |
void |
DefaultAttributeMarshaller.marshallAsAttribute(AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
boolean marshallDefault,
XMLStreamWriter writer) |
void |
AttributeMarshaller.marshallAsAttribute(AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
boolean marshallDefault,
XMLStreamWriter writer)
Marshalls the value from the given
resourceModel as an xml element, if it
is marshallable. |
void |
AttributeMarshallers.PropertiesAttributeMarshaller.marshallAsElement(AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
boolean marshallDefault,
XMLStreamWriter writer) |
void |
DefaultAttributeMarshaller.marshallAsElement(AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
boolean marshallDefault,
XMLStreamWriter writer) |
void |
AttributeMarshaller.marshallAsElement(AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
boolean marshallDefault,
XMLStreamWriter writer) |
void |
DefaultAttributeMarshaller.marshallAsElement(AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
XMLStreamWriter writer)
Deprecated.
|
static ObjectTypeAttributeDefinition.Builder |
ObjectTypeAttributeDefinition.Builder.of(String name,
AttributeDefinition... valueTypes) |
static SimpleListAttributeDefinition.Builder |
SimpleListAttributeDefinition.Builder.of(String name,
AttributeDefinition valueType) |
static ObjectTypeAttributeDefinition.Builder |
ObjectTypeAttributeDefinition.Builder.of(String name,
AttributeDefinition[] valueTypes,
AttributeDefinition[] moreValueTypes) |
static ObjectTypeAttributeDefinition.Builder |
ObjectTypeAttributeDefinition.Builder.of(String name,
AttributeDefinition[] valueTypes,
AttributeDefinition[] moreValueTypes) |
org.jboss.dmr.ModelNode |
AttributeParser.parse(AttributeDefinition attribute,
String value,
XMLStreamReader reader)
Creates and returns a
ModelNode using the given value after first validating the node
against this object's validator. |
org.jboss.dmr.ModelNode |
AttributeParser.DiscardOldDefaultValueParser.parse(AttributeDefinition attribute,
String value,
XMLStreamReader reader) |
void |
AttributeParser.parseAndSetParameter(AttributeDefinition attribute,
String value,
org.jboss.dmr.ModelNode operation,
XMLStreamReader reader)
Creates a
ModelNode using the given value after first validating the node
against this object's validator., and then stores it in the given operation
model node as a key/value pair whose key is this attribute's getName() name}. |
void |
AttributeParsers.PropertiesParser.parseElement(AttributeDefinition attribute,
org.jboss.staxmapper.XMLExtendedStreamReader reader,
org.jboss.dmr.ModelNode operation) |
void |
AttributeParser.parseElement(AttributeDefinition attribute,
org.jboss.staxmapper.XMLExtendedStreamReader reader,
org.jboss.dmr.ModelNode operation) |
protected void |
AbstractWriteAttributeHandler.recordCapabilitiesAndRequirements(OperationContext context,
AttributeDefinition attributeDefinition,
org.jboss.dmr.ModelNode newValue,
org.jboss.dmr.ModelNode oldValue)
Record any new requirements for other
capabilities
that now exist as a result of this operation, or remove any existing requirements that no longer exist. |
SimpleOperationDefinitionBuilder |
SimpleOperationDefinitionBuilder.setParameters(AttributeDefinition... parameters) |
SimpleOperationDefinitionBuilder |
SimpleOperationDefinitionBuilder.setReplyParameters(AttributeDefinition... replyParameters) |
| Modifier and Type | Method and Description |
|---|---|
AbstractAddStepHandler.Parameters |
AbstractAddStepHandler.Parameters.addAttribute(Collection<AttributeDefinition> attributeDefinitions) |
| Modifier and Type | Method and Description |
|---|---|
AttributeDefinition |
TargetAttribute.getAttributeDefinition() |
| Constructor and Description |
|---|
DefaultOperationDescriptionProvider(String operationName,
ResourceDescriptionResolver descriptionResolver,
AttributeDefinition... parameters) |
DefaultOperationDescriptionProvider(String operationName,
ResourceDescriptionResolver descriptionResolver,
DeprecationData deprecationData,
AttributeDefinition... parameters) |
DefaultOperationDescriptionProvider(String operationName,
ResourceDescriptionResolver descriptionResolver,
org.jboss.dmr.ModelType replyType,
AttributeDefinition... parameters) |
DefaultOperationDescriptionProvider(String operationName,
ResourceDescriptionResolver descriptionResolver,
org.jboss.dmr.ModelType replyType,
org.jboss.dmr.ModelType replyValueType,
AttributeDefinition... parameters) |
DefaultOperationDescriptionProvider(String operationName,
ResourceDescriptionResolver descriptionResolver,
org.jboss.dmr.ModelType replyType,
org.jboss.dmr.ModelType replyValueType,
DeprecationData deprecationData,
AttributeDefinition... parameters) |
DefaultOperationDescriptionProvider(String operationName,
ResourceDescriptionResolver descriptionResolver,
ResourceDescriptionResolver attributeDescriptionResolver,
org.jboss.dmr.ModelType replyType,
org.jboss.dmr.ModelType replyValueType,
boolean replyAllowNull,
DeprecationData deprecationData,
AttributeDefinition[] replyParameters,
AttributeDefinition... parameters) |
DefaultOperationDescriptionProvider(String operationName,
ResourceDescriptionResolver descriptionResolver,
ResourceDescriptionResolver attributeDescriptionResolver,
org.jboss.dmr.ModelType replyType,
org.jboss.dmr.ModelType replyValueType,
boolean replyAllowNull,
DeprecationData deprecationData,
AttributeDefinition[] replyParameters,
AttributeDefinition... parameters) |
DefaultOperationDescriptionProvider(String operationName,
ResourceDescriptionResolver descriptionResolver,
ResourceDescriptionResolver attributeDescriptionResolver,
org.jboss.dmr.ModelType replyType,
org.jboss.dmr.ModelType replyValueType,
boolean replyAllowNull,
DeprecationData deprecationData,
AttributeDefinition[] replyParameters,
AttributeDefinition[] parameters,
List<AccessConstraintDefinition> accessConstraints) |
DefaultOperationDescriptionProvider(String operationName,
ResourceDescriptionResolver descriptionResolver,
ResourceDescriptionResolver attributeDescriptionResolver,
org.jboss.dmr.ModelType replyType,
org.jboss.dmr.ModelType replyValueType,
boolean replyAllowNull,
DeprecationData deprecationData,
AttributeDefinition[] replyParameters,
AttributeDefinition[] parameters,
List<AccessConstraintDefinition> accessConstraints) |
DefaultOperationDescriptionProvider(String operationName,
ResourceDescriptionResolver descriptionResolver,
ResourceDescriptionResolver attributeDescriptionResolver,
org.jboss.dmr.ModelType replyType,
org.jboss.dmr.ModelType replyValueType,
DeprecationData deprecationData,
AttributeDefinition[] replyParameters,
AttributeDefinition... parameters) |
DefaultOperationDescriptionProvider(String operationName,
ResourceDescriptionResolver descriptionResolver,
ResourceDescriptionResolver attributeDescriptionResolver,
org.jboss.dmr.ModelType replyType,
org.jboss.dmr.ModelType replyValueType,
DeprecationData deprecationData,
AttributeDefinition[] replyParameters,
AttributeDefinition... parameters) |
| Modifier and Type | Field and Description |
|---|---|
protected static AttributeDefinition |
ProcessReloadHandler.ADMIN_ONLY |
static AttributeDefinition |
ProcessEnvironment.NAME
AttributeDefinition for the name attribute for a processes root resource |
| Modifier and Type | Method and Description |
|---|---|
protected void |
InterfaceAddHandler.validateAndSet(AttributeDefinition definition,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode subModel) |
| Constructor and Description |
|---|
ObjectTypeValidator(boolean nullable,
AttributeDefinition... attributes) |
| Modifier and Type | Method and Description |
|---|---|
AttributeDefinition |
AttributeAccess.getAttributeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
void |
ManagementResourceRegistration.registerMetric(AttributeDefinition definition,
OperationStepHandler metricHandler)
Records that the given attribute is a metric.
|
void |
DelegatingManagementResourceRegistration.registerMetric(AttributeDefinition definition,
OperationStepHandler metricHandler) |
void |
ManagementResourceRegistration.registerReadOnlyAttribute(AttributeDefinition definition,
OperationStepHandler readHandler)
Records that the given attribute can be read from but not written to, and
optionally provides an operation handler for the read.
|
void |
DelegatingManagementResourceRegistration.registerReadOnlyAttribute(AttributeDefinition definition,
OperationStepHandler readHandler) |
void |
ManagementResourceRegistration.registerReadWriteAttribute(AttributeDefinition definition,
OperationStepHandler readHandler,
OperationStepHandler writeHandler)
Records that the given attribute can be both read from and written to, and
provides operation handlers for the read and the write.
|
void |
DelegatingManagementResourceRegistration.registerReadWriteAttribute(AttributeDefinition definition,
OperationStepHandler readHandler,
OperationStepHandler writeHandler) |
| Modifier and Type | Field and Description |
|---|---|
static AttributeDefinition |
InterfaceDefinition.ANY |
static AttributeDefinition |
InterfaceDefinition.ANY_ADDRESS |
static AttributeDefinition |
AbstractSocketBindingResourceDefinition.CLIENT_MAPPINGS |
static AttributeDefinition |
InterfaceDefinition.INET_ADDRESS
All other attribute names.
|
static AttributeDefinition |
InterfaceDefinition.LINK_LOCAL_ADDRESS |
static AttributeDefinition |
InterfaceDefinition.LOOPBACK |
static AttributeDefinition |
InterfaceDefinition.LOOPBACK_ADDRESS |
static AttributeDefinition |
InterfaceDefinition.MULTICAST |
static AttributeDefinition |
InterfaceDefinition.NAME |
static AttributeDefinition[] |
InterfaceDefinition.NESTED_ATTRIBUTES |
static AttributeDefinition |
InterfaceDefinition.NIC |
static AttributeDefinition |
InterfaceDefinition.NIC_MATCH |
static AttributeDefinition |
InterfaceDefinition.NOT |
static AttributeDefinition |
InterfaceDefinition.POINT_TO_POINT |
static AttributeDefinition |
InterfaceDefinition.PUBLIC_ADDRESS |
static AttributeDefinition[] |
InterfaceDefinition.ROOT_ATTRIBUTES
The root attributes.
|
static AttributeDefinition |
InterfaceDefinition.SITE_LOCAL_ADDRESS |
static AttributeDefinition |
InterfaceDefinition.SUBNET_MATCH |
static AttributeDefinition |
InterfaceDefinition.UP |
static AttributeDefinition |
InterfaceDefinition.VIRTUAL
The any-* alternatives.
|
| Modifier and Type | Field and Description |
|---|---|
static Set<AttributeDefinition> |
InterfaceDefinition.NESTED_LIST_ATTRIBUTES
The nested attributes for any, not.
|
| Modifier and Type | Method and Description |
|---|---|
ResolvePathHandler.Builder |
ResolvePathHandler.Builder.setParentAttribute(AttributeDefinition parentAttribute)
Sets the parent attribute that the
relative-to and path attributes are children of. |
ResolvePathHandler.Builder |
ResolvePathHandler.Builder.setPathAttribute(AttributeDefinition pathAttribute)
Sets the
path attribute. |
ResolvePathHandler.Builder |
ResolvePathHandler.Builder.setRelativeToAttribute(AttributeDefinition relativeToAttribute)
Sets the
relative-to attribute. |
| Constructor and Description |
|---|
DiscardAttributesTransformer(AttributeDefinition... attributes)
Deprecated.
use a variant that takes a
DiscardAttributesTransformer.DiscardApprover |
DiscardAttributesTransformer(DiscardAttributesTransformer.DiscardApprover discardApprover,
AttributeDefinition... attributes)
Creates a new transformer.
|
DiscardUndefinedAttributesTransformer(AttributeDefinition... attributes) |
RejectExpressionValuesTransformer(AttributeDefinition... attributes) |
| Modifier and Type | Method and Description |
|---|---|
T |
BaseAttributeTransformationDescriptionBuilder.addRejectCheck(RejectAttributeChecker rejectChecker,
AttributeDefinition... rejectedAttributes)
Adds a RejectAttributeChecker.
|
T |
BaseAttributeTransformationDescriptionBuilder.addRejectChecks(List<RejectAttributeChecker> rejectCheckers,
AttributeDefinition... rejectedAttributes)
Adds a list of RejectAttributeCheckers.
|
T |
BaseAttributeTransformationDescriptionBuilder.addRename(AttributeDefinition attributeName,
String newName)
Rename an attribute.
|
T |
BaseAttributeTransformationDescriptionBuilder.setDiscard(DiscardAttributeChecker discardChecker,
AttributeDefinition... discardedAttributes)
Sets the DiscardChecker to be used to check if an attribute should be discarded.
|
T |
BaseAttributeTransformationDescriptionBuilder.setValueConverter(AttributeConverter attributeConverter,
AttributeDefinition... convertedAttributes)
Use to convert an attribute's value.
|
| Modifier and Type | Method and Description |
|---|---|
T |
BaseAttributeTransformationDescriptionBuilder.setDiscard(DiscardAttributeChecker discardChecker,
Collection<AttributeDefinition> discardedAttributes)
Sets the DiscardChecker to be used to check if an attribute should be discarded.
|
| Constructor and Description |
|---|
DefaultValueAttributeConverter(AttributeDefinition attribute) |
Copyright © 2015 JBoss by Red Hat. All rights reserved.