Class ArrayWrapper
- java.lang.Object
-
- org.opennms.netmgt.ticketer.jira.fieldmapper.ArrayWrapper
-
public class ArrayWrapper extends 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 Object
map(java.util.function.Function<String,Object> itemFunction, String attributeValue)
-