Class ConfigTrackingValueTransformer

java.lang.Object
io.quarkus.deployment.configuration.tracker.ConfigTrackingValueTransformer

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

    • newInstance

      public static ConfigTrackingValueTransformer newInstance(org.eclipse.microprofile.config.Config config)
    • newInstance

      public static ConfigTrackingValueTransformer newInstance(ConfigTrackingConfig config)
    • 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(String value)
    • sha512

      public static String sha512(byte[] value)