public interface ResourceTransformationDescriptionBuilder extends TransformationDescriptionBuilder
TransformationDescriptionBuilder.FactorybuildAttributeTransformationDescriptionBuilder getAttributeBuilder()
OperationTransformationOverrideBuilder addOperationTransformationOverride(String operationName)
operationName - the operation nameResourceTransformationDescriptionBuilder addRawOperationTransformationOverride(String operationName, OperationTransformer operationTransformer)
operationName - the operation nameoperationTransformer - the operation transformerResourceTransformationDescriptionBuilder setCustomResourceTransformer(ResourceTransformer resourceTransformer)
getAttributeBuilder() and needs to take care of adding the currently transformed resource properly. If not specified,
the resource will be added according to other rules defined by this builder.resourceTransformer - the resource transformerResourceTransformationDescriptionBuilder addChildResource(PathElement pathElement)
pathElement - the path elementResourceTransformationDescriptionBuilder addChildResource(PathElement pathElement, DynamicDiscardPolicy dynamicDiscardPolicy)
pathElement - the path elementdynamicDiscardPolicy - a checker to decide whether the child should be added or notResourceTransformationDescriptionBuilder addChildResource(ResourceDefinition definition)
definition - the resource definitionResourceTransformationDescriptionBuilder addChildResource(ResourceDefinition definition, DynamicDiscardPolicy dynamicDiscardPolicy)
definition - the resource definitiondynamicDiscardPolicy - a checker to decide whether the child should be added or notDiscardTransformationDescriptionBuilder discardChildResource(PathElement pathElement)
pathElement - the path elementRejectTransformationDescriptionBuilder rejectChildResource(PathElement pathElement)
pathElement - the path elementResourceTransformationDescriptionBuilder addChildRedirection(PathElement current, PathElement legacy)
current:addr1=test + legacy:addr2=toast, in which case addr1=test gets redirected to addr2=toast}current:addr1=* + legacy:addr2=*, in which case addr1=test gets redirected to addr2=test,
addr1=ping gets redirected to addr2=ping, etc.current - the current path elementlegacy - the legacy path element.ResourceTransformationDescriptionBuilder addChildRedirection(PathElement pathElement, PathAddressTransformer pathAddressTransformer)
pathElement - the path element of the childpathAddressTransformer - the path transformationResourceTransformationDescriptionBuilder addChildBuilder(TransformationDescriptionBuilder builder)
TransformationDescriptionBuilder as a child of this builder.builder - the builderResourceTransformationDescriptionBuilder discardOperations(String... operationNames)
operationNames - the operation namesCopyright © 2015 JBoss by Red Hat. All rights reserved.