public class ProcessingElementValidationHelper extends ElementValidationHelper
XProcessingElement
selement, factory, params, results
Constructor and Description |
---|
ProcessingElementValidationHelper(XProcessingElement element,
List<FlowValidationResult> results,
FlowValidationResultFactory factory)
Creates a new helper (wrapper) for validating a given
XProcessingElement |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
extractParameters()
Helpers should implement this method to return parameters extracted from the entity being validated
|
getField, getField, validateBoolean, validateBoolean, validateEmailAddress, validateEmailList, validateEnum, validateNonEmptyString, validateNonEmptyString, validateNonNegativeInteger, validateNonNegativeInteger, validatePositiveInteger, validatePositiveInteger, validatePositiveLong, validatePositiveLong
public ProcessingElementValidationHelper(XProcessingElement element, List<FlowValidationResult> results, FlowValidationResultFactory factory)
XProcessingElement
element
- the XProcessingElement
to be validatedresults
- the List
of FlowValidationResult
s where validation results should be storedfactory
- the FlowValidationResultFactory
for generating FlowValidationResult
entitiesprotected Map<String,Object> extractParameters()
ElementValidationHelper
extractParameters
in class ElementValidationHelper
Map
of parameters from the validated entityCopyright © 2016–2019 AdroitLogic. All rights reserved.