@IntegrationFlowValidator public class AddVariableValidator extends AbstractSequencedProcessingValidator<AddVariable>
XFlowValidator
for the validation of AddVariable
processing element. This will
perform validations for the below set of rules.
1. The 'Next' outport should be connected to a processing element
2. A value should be set for the parameter "Variable Name"
3. A value should be set for the parameter "Variable Type"
5. A value should be set for the parameter "Extraction Type"
4. A value should be set for the parameter "Variable Value" when extraction type is "NO_EXTRACTION"
6. A value should be set for the parameter "Extraction Key" when an extraction type is "PROPERTY" or "HEADER".
7. Under "NO_EXTRACTION" type, given "Variable Value" and "Variable Type" must be compatibleConstructor and Description |
---|
AddVariableValidator() |
Modifier and Type | Method and Description |
---|---|
protected FlowValidationResultFactory |
getFlowValidationResultFactory() |
protected List<FlowValidationResult> |
validateSequencedElement(AddVariable addVariableElement) |
validate
protected FlowValidationResultFactory getFlowValidationResultFactory()
getFlowValidationResultFactory
in class AbstractSequencedProcessingValidator<AddVariable>
protected List<FlowValidationResult> validateSequencedElement(AddVariable addVariableElement)
validateSequencedElement
in class AbstractSequencedProcessingValidator<AddVariable>
Copyright © 2016–2019 AdroitLogic. All rights reserved.