Class ConfigTrackingValueTransformer


  • public class ConfigTrackingValueTransformer
    extends Object
    Transforms configuration values before they are written to a file
    • Method Detail

      • asString

        public static String asString​(org.eclipse.microprofile.config.ConfigValue value)
        Returns a non-null string value for a given ConfigValue instance.
        Parameters:
        value - configuration value
        Returns:
        non-null string value for a given ConfigValue instance
      • transform

        public String transform​(String name,
                                org.eclipse.microprofile.config.ConfigValue value)
        Returns a string value that can be persisted to file.
        Parameters:
        name - option name
        value - configuration value
        Returns:
        string value that can be persisted to file
      • transform

        public String transform​(String name,
                                String original)
        Returns a string value that can be persisted to file.
        Parameters:
        name - option name
        original - configuration value
        Returns:
        string value that can be persisted to file
      • sha512

        public static String sha512​(byte[] value)