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 String
asString
(org.eclipse.microprofile.config.ConfigValue value) Returns a non-null string value for a givenConfigValue
instance.newInstance
(ConfigTrackingConfig config) newInstance
(org.eclipse.microprofile.config.Config config) static String
sha512
(byte[] value) static String
Returns 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 givenConfigValue
instance.- Parameters:
value
- configuration value- Returns:
- non-null string value for a given
ConfigValue
instance
-
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
-