@Deprecated public class AliasOperationTransformer extends Object implements CombinedTransformer
OperationTransformer
and ResourceTransformer
transforming the operation address only.Modifier and Type | Class and Description |
---|---|
static interface |
AliasOperationTransformer.AddressTransformer
Deprecated.
|
OperationTransformer.TransformedOperation
DEFAULT, DISCARD
DEFAULT, DEFAULT_REJECTION_POLICY, DISCARD, SUCCESSFUL_RESULT
Modifier | Constructor and Description |
---|---|
protected |
AliasOperationTransformer(AliasOperationTransformer.AddressTransformer transformer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AliasOperationTransformer |
create(AliasOperationTransformer.AddressTransformer transformer)
Deprecated.
|
static AliasOperationTransformer |
replaceLastElement(PathElement element)
Deprecated.
Replace the last element of an address with a static path element.
|
OperationTransformer.TransformedOperation |
transformOperation(TransformationContext context,
PathAddress address,
org.jboss.dmr.ModelNode original)
Deprecated.
Transform the operation.
|
void |
transformResource(ResourceTransformationContext currentCtx,
PathAddress address,
Resource resource)
Deprecated.
Transform a resource.
|
protected AliasOperationTransformer(AliasOperationTransformer.AddressTransformer transformer)
public OperationTransformer.TransformedOperation transformOperation(TransformationContext context, PathAddress address, org.jboss.dmr.ModelNode original) throws OperationFailedException
OperationTransformer
transformOperation
in interface OperationTransformer
context
- the operation contextaddress
- the path addressoriginal
- the operationOperationFailedException
public void transformResource(ResourceTransformationContext currentCtx, PathAddress address, Resource resource) throws OperationFailedException
ResourceTransformer
transformResource
in interface ResourceTransformer
currentCtx
- the resource transformation contextaddress
- the path addressresource
- the resource to transformOperationFailedException
public static AliasOperationTransformer replaceLastElement(PathElement element)
element
- the path elementpublic static AliasOperationTransformer create(AliasOperationTransformer.AddressTransformer transformer)
Copyright © 2023 JBoss by Red Hat. All rights reserved.