Class StringExportHelper
java.lang.Object
com.atlassian.bamboo.configuration.external.helpers.StringExportHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Object
getObjectValue
(@Nullable String value) Convert arbitrary string to an object that is suitable for use in YAML export.static @Nullable String
getStringValue
(@Nullable Object value) Converts back to String using with toString method.
-
Method Details
-
getObjectValue
Convert arbitrary string to an object that is suitable for use in YAML export. Literals "true" and "false" are converted to Boolean, numbers are converted to Long. If input value is null, null is returned. If no pattern is recognized the string is returned as is. -
getStringValue
Converts back to String using with toString method.
-