Class ArrayWrapper
- java.lang.Object
-
- org.opennms.netmgt.ticketer.jira.fieldmapper.ArrayWrapper
-
public class ArrayWrapper extends java.lang.Object
Wrapper class to help splitting string values, separated by "," and map each split value to its according (custom) jira field value. E.g. "label1,label2" becomes ["label1", "label2"], or "label1,label" becomes [{"name":"label1"}, {"name":"label2"}]"
-
-
Constructor Summary
Constructors Constructor Description ArrayWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
map(java.util.function.Function<java.lang.String,java.lang.Object> itemFunction, java.lang.String attributeValue)
-