Package com.eka.middleware.flow
Class FlowUtils
java.lang.Object
com.eka.middleware.flow.FlowUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
dropValue
(javax.json.JsonArray dropList, DataPipeline dp) static boolean
evaluateCondition
(String condition, DataPipeline dp) static String[]
extractExpressions
(String string, DataPipeline dataPipeline) static void
map
(javax.json.JsonArray transformers, DataPipeline dp) static void
mapAfter
(javax.json.JsonArray transformers, DataPipeline dp) static void
mapBefore
(javax.json.JsonArray transformers, DataPipeline dp) static boolean
patternMatches
(String text, String regexPattern) static String
placeXPathInternalVariables
(String xPaths, DataPipeline dp) static String
placeXPathValue
(String xPaths, DataPipeline dp) static void
static String
resolveExpressions
(String input, Object parentMap) static void
setValue
(javax.json.JsonArray createList, DataPipeline dp) static void
validateDocuments
(DataPipeline dp, javax.json.JsonValue jv)
-
Constructor Details
-
FlowUtils
public FlowUtils()
-
-
Method Details
-
placeXPathValue
- Throws:
SnippetException
-
placeXPathInternalVariables
public static String placeXPathInternalVariables(String xPaths, DataPipeline dp) throws SnippetException - Throws:
SnippetException
-
evaluateCondition
- Throws:
SnippetException
-
map
- Throws:
SnippetException
-
mapBefore
public static void mapBefore(javax.json.JsonArray transformers, DataPipeline dp) throws SnippetException - Throws:
SnippetException
-
mapAfter
public static void mapAfter(javax.json.JsonArray transformers, DataPipeline dp) throws SnippetException - Throws:
SnippetException
-
extractExpressions
-
resolveExpressions
-
setValue
public static void setValue(javax.json.JsonArray createList, DataPipeline dp) throws SnippetException - Throws:
SnippetException
-
dropValue
-
resetJSCB
- Throws:
SystemException
-
split
public static Map<String,List<JsonOp>> split(javax.json.JsonArray transformers, String direction) throws Exception - Throws:
Exception
-
validateDocuments
public static void validateDocuments(DataPipeline dp, javax.json.JsonValue jv) throws SnippetException - Throws:
SnippetException
-
patternMatches
-