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 classPropertyTransformerthat adds a prefix to each key name.static classPropertyTransformerthat passes the given properties through without returning changed properties. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyTransformernoop()static PropertyTransformerpropertyNamePrefix(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:
PropertyTransformerto addpropertyNamePrefixto each property name.
-