public class Utilities extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MULTI_VAL_DELIM |
Modifier and Type | Method and Description |
---|---|
static String |
toDelimitedString(List<Context> pCtxList)
Converts the passed in pCtxList to a
MULTI_VAL_DELIM delimited String. |
public static final String MULTI_VAL_DELIM
public static String toDelimitedString(List<Context> pCtxList) throws IllegalArgumentException
MULTI_VAL_DELIM
delimited String. Certain
things are enforced in the passed in Context
list. If any are violated, then a runtime IllegalArgumentException
gets thrown:
1) Every element in the list must be either a primitive or recursible (I.e. complex) Context
object.
2) In case of a recursible (I.e. complex) Context, then it must contain at most one name/value pair.
Later on, as needed, can relax these enforcements as it makes sense for rules engine evolution/needs.pCtxList
- - pCtxListMULTI_VAL_DELIM
as the delimiter.IllegalArgumentException
- - TODOCopyright © 2019. All rights reserved.