public interface AttributeConverter
Modifier and Type | Interface and Description |
---|---|
static class |
AttributeConverter.DefaultAttributeConverter
A default implementation of AttributeConverter
|
static class |
AttributeConverter.DefaultValueAttributeConverter
Converter for an exist attribute whose default value has changed.
|
static class |
AttributeConverter.Factory
Factory for common types of AttributeConverters
|
Modifier and Type | Field and Description |
---|---|
static AttributeConverter |
NAME_FROM_ADDRESS
An attribute converter which converts the attribute value to be the value of the last
PathElement in the PathAddress |
Modifier and Type | Method and Description |
---|---|
void |
convertOperationParameter(PathAddress address,
String attributeName,
org.jboss.dmr.ModelNode attributeValue,
org.jboss.dmr.ModelNode operation,
TransformationContext context)
Converts an operation parameter
|
void |
convertResourceAttribute(PathAddress address,
String attributeName,
org.jboss.dmr.ModelNode attributeValue,
TransformationContext context)
Converts a resource attribute
|
static final AttributeConverter NAME_FROM_ADDRESS
PathElement
in the PathAddress
void convertOperationParameter(PathAddress address, String attributeName, org.jboss.dmr.ModelNode attributeValue, org.jboss.dmr.ModelNode operation, TransformationContext context)
address
- the address of the operationattributeName
- the name of the operation parameterattributeValue
- the value of the operation parameter to be convertedoperation
- the operation executed. This is unmodifiable.context
- the context of the transformationvoid convertResourceAttribute(PathAddress address, String attributeName, org.jboss.dmr.ModelNode attributeValue, TransformationContext context)
address
- the address of the operationattributeName
- the name of the attributeattributeValue
- the value of the attribute to be convertedcontext
- the context of the transformationCopyright © 2023 JBoss by Red Hat. All rights reserved.