Interface ConfigurationTransformation
- All Known Subinterfaces:
- ConfigurationTransformation.Versioned
- All Known Implementing Classes:
- DataFixerTransformation,- DataFixerTransformation
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a set of transformations on a configuration.
- Since:
- 4.0.0
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilds a basicConfigurationTransformation.static interfaceA transformation that is aware of node versions.static final classBuilds a versionedConfigurationTransformation.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final ObjectA special object that represents a wildcard in a path provided to a configuration transformer.
- 
Method SummaryModifier and TypeMethodDescriptionvoidapply(ConfigurationNode node) Apply this transformation to a given node.builder()Create a new builder to create a basic configuration transformation.static ConfigurationTransformationchain(ConfigurationTransformation... transformations) Creates a chain ofConfigurationTransformations.static ConfigurationTransformationempty()Get an empty transformation.This creates a builder for versioned transformations.
- 
Field Details- 
WILDCARD_OBJECTA special object that represents a wildcard in a path provided to a configuration transformer.- Since:
- 4.0.0
 
 
- 
- 
Method Details- 
emptyGet an empty transformation.This transformation will perform no actions. - Returns:
- empty transformation
- Since:
- 4.0.0
 
- 
builderCreate a new builder to create a basic configuration transformation.- Returns:
- a new transformation builder.
- Since:
- 4.0.0
 
- 
versionedBuilderThis creates a builder for versioned transformations.- Returns:
- a new builder for versioned transformations
- Since:
- 4.0.0
 
- 
chainCreates a chain ofConfigurationTransformations.- Parameters:
- transformations- the transformations
- Returns:
- a new transformation chain
- Since:
- 4.0.0
 
- 
applyApply this transformation to a given node.- Parameters:
- node- the target node
- Throws:
- ConfigurateException
- Since:
- 4.0.0
 
 
-