Class PropertyTransformers
java.lang.Object
org.springframework.vault.core.util.PropertyTransformers
Implementations of
PropertyTransformer
that provide various useful property
transformation operations, prefixing, etc.- Author:
- Mark Paluch
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
PropertyTransformer
that adds a prefix to each key name.static class
PropertyTransformer
that passes the given properties through without returning changed properties. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyTransformer
noop()
static PropertyTransformer
propertyNamePrefix
(String propertyNamePrefix) static PropertyTransformer
-
Constructor Details
-
PropertyTransformers
public PropertyTransformers()
-
-
Method Details
-
noop
- Returns:
- "no-operation" transformer which simply returns given name as is. Used commonly as placeholder or marker.
-
removeNullProperties
- Returns:
- removes null value properties.
-
propertyNamePrefix
- Parameters:
propertyNamePrefix
- the prefix to add to each property name.- Returns:
PropertyTransformer
to addpropertyNamePrefix
to each property name.
-