Class ConfigTrackingValueTransformer
java.lang.Object
io.quarkus.deployment.configuration.tracker.ConfigTrackingValueTransformer
Transforms configuration values before they are written to a file
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringasString(org.eclipse.microprofile.config.ConfigValue value) Returns a non-null string value for a givenConfigValueinstance.newInstance(ConfigTrackingConfig config) newInstance(org.eclipse.microprofile.config.Config config) static Stringsha512(byte[] value) static StringReturns a string value that can be persisted to file.Returns a string value that can be persisted to file.
-
Method Details
-
newInstance
public static ConfigTrackingValueTransformer newInstance(org.eclipse.microprofile.config.Config config) -
newInstance
-
asString
Returns a non-null string value for a givenConfigValueinstance.- Parameters:
value- configuration value- Returns:
- non-null string value for a given
ConfigValueinstance
-
transform
Returns a string value that can be persisted to file.- Parameters:
name- option namevalue- configuration value- Returns:
- string value that can be persisted to file
-
transform
Returns a string value that can be persisted to file.- Parameters:
name- option nameoriginal- configuration value- Returns:
- string value that can be persisted to file
-
sha512
-
sha512
-