public abstract class ConfigurationTransformation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigurationTransformation.Builder |
static class |
ConfigurationTransformation.NodePath
Wrapper around path Object[]s to prevent transformers modifying what is supposed to be a immutable path.
|
static class |
ConfigurationTransformation.VersionedBuilder |
Modifier and Type | Field and Description |
---|---|
static Object |
WILDCARD_OBJECT
A special object that represents a wildcard in a path provided to a configuration transformer
|
Constructor and Description |
---|
ConfigurationTransformation() |
Modifier and Type | Method and Description |
---|---|
abstract void |
apply(ConfigurationNode node)
Apply this transformation to a given node
|
static ConfigurationTransformation.Builder |
builder()
Create a new builder to create a basic configuration transformation.
|
static ConfigurationTransformation |
chain(ConfigurationTransformation... transformations) |
static ConfigurationTransformation.VersionedBuilder |
versionedBuilder()
This creates a builder for versioned transformations -- transformations that contain
|
public static final Object WILDCARD_OBJECT
public abstract void apply(ConfigurationNode node)
node
- The target nodepublic static ConfigurationTransformation.Builder builder()
public static ConfigurationTransformation.VersionedBuilder versionedBuilder()
public static ConfigurationTransformation chain(ConfigurationTransformation... transformations)
Copyright © 2014–2017. All rights reserved.