public interface Transformers
| Modifier and Type | Interface and Description |
|---|---|
static class |
Transformers.Factory
Convenience factory for unit tests, and default internal implementations
|
static interface |
Transformers.OperationExcludedTransformationRegistry
Provides information on whether a target process is excluded from receiving operations for a particular resource addresses.
|
static interface |
Transformers.ResourceIgnoredTransformationRegistry
Provides information on whether a target process is ignoring particular resource addresses.
|
static class |
Transformers.TransformationInputs
Standard inputs into a transformation process.
|
| Modifier and Type | Field and Description |
|---|---|
static Transformers.ResourceIgnoredTransformationRegistry |
DEFAULT
A default
Transformers.ResourceIgnoredTransformationRegistry
that says that no addresses are being ignored. |
| Modifier and Type | Method and Description |
|---|---|
TransformationTarget |
getTarget()
Get information about the target.
|
OperationTransformer.TransformedOperation |
transformOperation(TransformationContext context,
org.jboss.dmr.ModelNode operation)
Only for use by test frameworks. Transforms an operation.
|
OperationTransformer.TransformedOperation |
transformOperation(Transformers.TransformationInputs transformationInputs,
org.jboss.dmr.ModelNode operation)
Transform an operation.
|
Resource |
transformResource(ResourceTransformationContext context,
Resource resource)
Only for use by test frameworks..
|
Resource |
transformRootResource(Transformers.TransformationInputs transformationInputs,
Resource resource)
Transform a given root resource, including children.
|
Resource |
transformRootResource(Transformers.TransformationInputs transformationInputs,
Resource resource,
Transformers.ResourceIgnoredTransformationRegistry ignoredTransformationRegistry)
Transform a given resource, including children, removing resources that the given
ignoredTransformationRegistry
indicates are being ignored by the target process. |
static final Transformers.ResourceIgnoredTransformationRegistry DEFAULT
Transformers.ResourceIgnoredTransformationRegistry
that says that no addresses are being ignored.TransformationTarget getTarget()
OperationTransformer.TransformedOperation transformOperation(TransformationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
context - contextual information about the transformationoperation - the operation to transformOperationFailedExceptionOperationTransformer.TransformedOperation transformOperation(Transformers.TransformationInputs transformationInputs, org.jboss.dmr.ModelNode operation) throws OperationFailedException
transformationInputs - standard inputs into a transformation process. Cannot be nulloperation - the operation to transform. Cannot be nullnullOperationFailedExceptionResource transformResource(ResourceTransformationContext context, Resource resource) throws OperationFailedException
context - contextual information about the transformationresource - to transformOperationFailedExceptionResource transformRootResource(Transformers.TransformationInputs transformationInputs, Resource resource) throws OperationFailedException
resource must represent the root of
HC's full resource tree but need not include all children, if the caller is not interested in transforming
the excluded children.transformationInputs - standard inputs into a transformation process. Cannot be nullresource - the root resource. Cannot be nullnullOperationFailedExceptionResource transformRootResource(Transformers.TransformationInputs transformationInputs, Resource resource, Transformers.ResourceIgnoredTransformationRegistry ignoredTransformationRegistry) throws OperationFailedException
ignoredTransformationRegistry
indicates are being ignored by the target process. The given resource must represent the root of
HC's full resource tree but need not include all children, if the caller is not interested in transforming
the excluded children.transformationInputs - standard inputs to a transformation. Cannot be nullresource - the resource to be transformed (including children)ignoredTransformationRegistry - provider of information on what addresses are being ignored by the target processOperationFailedExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.