public class GlobalIdFactory extends Object
Constructor and Description |
---|
GlobalIdFactory() |
public static String encode(List<String> keys, Map<String,String> values)
keys
- the order in which the keys will be appended to the resultvalues
- the values to encode as a Stringpublic static Map<String,String> decode(String globalId, List<String> keys)
globalId
- the String to decodekeys
- the order in which the keys should appear. If the keys are not in this order an IllegalArgumentException is thrown.Copyright © 2002-2015 Atlassian. All Rights Reserved.