Class ConfigurationMapExportHelper
java.lang.Object
com.atlassian.bamboo.configuration.external.helpers.ConfigurationMapExportHelper
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationToSerializableMap
(@NotNull Map<String, String> configuration) Convert configuration map for export.serializableMapToConfiguration
(@NotNull Map<String, Object> map) Convert configuration map for import.
-
Method Details
-
configurationToSerializableMap
public static Map<String,Object> configurationToSerializableMap(@NotNull @NotNull Map<String, String> configuration) Convert configuration map for export. Sorts the entries and converts strings to appropriate Objects. See also:StringExportHelper.getObjectValue(String)
-
serializableMapToConfiguration
public static Map<String,String> serializableMapToConfiguration(@NotNull @NotNull Map<String, Object> map) Convert configuration map for import. Converts Objects to Strings. See also:StringExportHelper.getStringValue(Object)
-