Class StringExportHelper

java.lang.Object
com.atlassian.bamboo.configuration.external.helpers.StringExportHelper

public class StringExportHelper extends Object
  • Method Details

    • getObjectValue

      @Nullable public static @Nullable Object getObjectValue(@Nullable @Nullable String value)
      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

      @Nullable public static @Nullable String getStringValue(@Nullable @Nullable Object value)
      Converts back to String using with toString method.