public abstract static class AttributeConverter.DefaultAttributeConverter extends Object implements AttributeConverter
AttributeConverter.DefaultAttributeConverter, AttributeConverter.DefaultValueAttributeConverter, AttributeConverter.FactoryDEFAULT_VALUE, NAME_FROM_ADDRESS| Constructor and Description |
|---|
DefaultAttributeConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
convertAttribute(PathAddress address,
String attributeName,
org.jboss.dmr.ModelNode attributeValue,
TransformationContext context)
Gets called by the default implementations of
convertOperationParameter(PathAddress, String, ModelNode, ModelNode, TransformationContext) and
convertResourceAttribute(PathAddress, String, ModelNode, TransformationContext). |
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
|
public void convertOperationParameter(PathAddress address, String attributeName, org.jboss.dmr.ModelNode attributeValue, org.jboss.dmr.ModelNode operation, TransformationContext context)
convertOperationParameter in interface AttributeConverteraddress - 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 transformationpublic void convertResourceAttribute(PathAddress address, String attributeName, org.jboss.dmr.ModelNode attributeValue, TransformationContext context)
convertResourceAttribute in interface AttributeConverteraddress - the address of the operationattributeName - the name of the attributeattributeValue - the value of the attribute to be convertedcontext - the context of the transformationprotected abstract void convertAttribute(PathAddress address, String attributeName, org.jboss.dmr.ModelNode attributeValue, TransformationContext context)
convertOperationParameter(PathAddress, String, ModelNode, ModelNode, TransformationContext) and
convertResourceAttribute(PathAddress, String, ModelNode, TransformationContext).address - the address of the operation or resourceattributeName - the name of the attributeattributeValue - the value of the attributecontext - the context of the transformationCopyright © 2022 JBoss by Red Hat. All rights reserved.