public static interface DiscardAttributesTransformer.DiscardApprover
Modifier and Type | Method and Description |
---|---|
boolean |
isOperationDiscardAllowed(TransformationContext context,
PathAddress address,
org.jboss.dmr.ModelNode operation)
Replies with whether operation transformation should be done.
|
boolean |
isResourceDiscardAllowed(TransformationContext context,
PathAddress address,
Resource resource)
Replies with whether resource transformation should be done.
|
boolean isResourceDiscardAllowed(TransformationContext context, PathAddress address, Resource resource)
context
- the contextaddress
- the address of the resource to transformresource
- the resourcetrue
if transformation should be done; false
if the resource should be left as isboolean isOperationDiscardAllowed(TransformationContext context, PathAddress address, org.jboss.dmr.ModelNode operation)
context
- the contextaddress
- the address of the resource to transformoperation
- the operationtrue
if transformation should be done; false
if the operation should be left as isCopyright © 2023 JBoss by Red Hat. All rights reserved.