Class PropertyTransformers

java.lang.Object
org.springframework.vault.core.util.PropertyTransformers

public abstract class PropertyTransformers extends Object
Implementations of PropertyTransformer that provide various useful property transformation operations, prefixing, etc.
Author:
Mark Paluch
  • Constructor Details

    • PropertyTransformers

      public PropertyTransformers()
  • Method Details

    • noop

      public static PropertyTransformer noop()
      Returns:
      "no-operation" transformer which simply returns given name as is. Used commonly as placeholder or marker.
    • removeNullProperties

      public static PropertyTransformer removeNullProperties()
      Returns:
      removes null value properties.
    • propertyNamePrefix

      public static PropertyTransformer propertyNamePrefix(String propertyNamePrefix)
      Parameters:
      propertyNamePrefix - the prefix to add to each property name.
      Returns:
      PropertyTransformer to add propertyNamePrefix to each property name.