Class BpmnModelSequenceFlowValidator
- java.lang.Object
-
- org.activiti.cloud.services.modeling.validation.process.BpmnModelSequenceFlowValidator
-
- All Implemented Interfaces:
ModelValidationErrorProducer,BpmnCommonModelValidator
public class BpmnModelSequenceFlowValidator extends Object implements BpmnCommonModelValidator
Implementation ofBpmnCommonModelValidatorfor validating Sequence flow when empty source or target references are provided
-
-
Field Summary
Fields Modifier and Type Field Description static StringNO_SOURCE_REF_PROBLEMstatic StringNO_SOURCE_REF_PROBLEM_DESCRIPTIONstatic StringNO_TARGET_REF_PROBLEMstatic StringNO_TARGET_REF_PROBLEM_DESCRIPTIONstatic StringSEQUENCE_FLOW_VALIDATOR_NAME
-
Constructor Summary
Constructors Constructor Description BpmnModelSequenceFlowValidator(FlowElementsExtractor flowElementsExtractor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<ModelValidationError>validate(org.activiti.bpmn.model.BpmnModel bpmnModel, ValidationContext validationContext)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.activiti.cloud.modeling.api.ModelValidationErrorProducer
createModelValidationError, createModelValidationError
-
-
-
-
Field Detail
-
NO_SOURCE_REF_PROBLEM
public static final String NO_SOURCE_REF_PROBLEM
- See Also:
- Constant Field Values
-
NO_SOURCE_REF_PROBLEM_DESCRIPTION
public static final String NO_SOURCE_REF_PROBLEM_DESCRIPTION
- See Also:
- Constant Field Values
-
NO_TARGET_REF_PROBLEM
public static final String NO_TARGET_REF_PROBLEM
- See Also:
- Constant Field Values
-
NO_TARGET_REF_PROBLEM_DESCRIPTION
public static final String NO_TARGET_REF_PROBLEM_DESCRIPTION
- See Also:
- Constant Field Values
-
SEQUENCE_FLOW_VALIDATOR_NAME
public static final String SEQUENCE_FLOW_VALIDATOR_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BpmnModelSequenceFlowValidator
public BpmnModelSequenceFlowValidator(FlowElementsExtractor flowElementsExtractor)
-
-
Method Detail
-
validate
public Stream<ModelValidationError> validate(org.activiti.bpmn.model.BpmnModel bpmnModel, ValidationContext validationContext)
- Specified by:
validatein interfaceBpmnCommonModelValidator
-
-