Class Function
java.lang.Object
com.eka.middleware.pub.util.document.Function
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DateTimeFormatter
static final org.apache.logging.log4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
applyDateValidations
(DataPipeline dp, String pointer, String typePath, String value, Map<String, String> data) static String
applyIntegerValidations
(int value, Map<String, String> data) static String
applyNumberValidations
(DataPipeline dp, String pointer, String typePath, double value, Map<String, String> data) static String
applyStringValidations
(String value, Map<String, String> data) static boolean
isRequired
(DataPipeline dp, String pointer, Map<String, String> data, Object value) static void
-
Field Details
-
LOGGER
public static final org.apache.logging.log4j.Logger LOGGER -
formatter
-
-
Constructor Details
-
Function
public Function()
-
-
Method Details
-
isRequired
public static boolean isRequired(DataPipeline dp, String pointer, Map<String, String> data, Object value) throws SnippetException- Throws:
SnippetException
-
validate
public static void validate(DataPipeline dp, String pointer, String typePath, Map<String, String> data, Object object) throws SnippetException- Throws:
SnippetException
-
applyIntegerValidations
-
applyNumberValidations
-
applyStringValidations
-
applyDateValidations
-