public interface ChainedTransformationDescriptionBuilder
TransformationDescriptionBuilder.Factory.createChainedInstance(org.jboss.as.controller.PathElement, ModelVersion) or
TransformationDescriptionBuilder.Factory.createChainedSubystemInstance(ModelVersion). The ModelVersion parameter
to these operations is the 'current' model version.
Internally this uses a OperationTransformerRegistry.PlaceholderResolver so
if this is used, all children must also use chained transformers. Typically you should create a chain for the subsystem
and add child transformations using the chained builder.| Modifier and Type | Method and Description |
|---|---|
Map<ModelVersion,TransformationDescription> |
build(ModelVersion... versions)
Build the transformer chains for chain of versions.
|
void |
buildAndRegister(SubsystemRegistration registration,
ModelVersion[]... chains)
Deprecated.
use
#buildAndRegister(SubsystemTransformerRegistration, ModelVersion[]...) instead |
void |
buildAndRegister(SubsystemTransformerRegistration registration,
ModelVersion[]... chains)
Builds and registers the transformer chains for this builder against a subsystem
|
ResourceTransformationDescriptionBuilder |
createBuilder(ModelVersion fromVersion,
ModelVersion toVersion)
Add a transformer for a version delta
|
ResourceTransformationDescriptionBuilder createBuilder(ModelVersion fromVersion, ModelVersion toVersion)
fromVersion - the version to transform fromtoVersion - the version to transform toMap<ModelVersion,TransformationDescription> build(ModelVersion... versions)
versions - the versions in the transformer chain. This should not include the 'current' version mentioned in the class javadoc.@Deprecated void buildAndRegister(SubsystemRegistration registration, ModelVersion[]... chains)
#buildAndRegister(SubsystemTransformerRegistration, ModelVersion[]...) insteadregistration - the subsystem registrationschains - the version chains (not including the 'current' version as in build(ModelVersion...))void buildAndRegister(SubsystemTransformerRegistration registration, ModelVersion[]... chains)
registration - the subsystem registrationschains - the version chains (not including the 'current' version as in build(ModelVersion...))Copyright © 2020 JBoss by Red Hat. All rights reserved.