public class DefaultMacroParameterSerializer extends Object implements MacroParameterSerializer
This strategy is also duplicated on the client-side in the script macro-parameter-serializer.js
Constructor and Description |
---|
DefaultMacroParameterSerializer() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
deserialize(String encodedParameters)
Deserializes a String into a Map of parameters.
|
String |
serialize(Map<String,String> parameters)
Serializes a map of parameters into a String.
|
public String serialize(Map<String,String> parameters)
MacroParameterSerializer
serialize
in interface MacroParameterSerializer
parameters
- Map to encode. May be null or empty.public Map<String,String> deserialize(String encodedParameters)
MacroParameterSerializer
deserialize
in interface MacroParameterSerializer
encodedParameters
- String to decode.Copyright © 2003–2015 Atlassian. All rights reserved.