Class EndEventIncomingOutgoingFlowValidator
- java.lang.Object
-
- org.activiti.cloud.services.modeling.validation.process.EndEventIncomingOutgoingFlowValidator
-
- All Implemented Interfaces:
ModelValidationErrorProducer,FlowNodeFlowsValidator
public class EndEventIncomingOutgoingFlowValidator extends Object implements FlowNodeFlowsValidator
-
-
Field Summary
Fields Modifier and Type Field Description static StringEND_EVENT_FLOWS_VALIDATOR_NAMEstatic StringNO_INCOMING_FLOW_PROBLEMstatic StringNO_INCOMING_FLOW_PROBLEM_DESCRIPTIONstatic StringOUTGOING_FLOW_ON_END_EVENT_PROBLEMstatic StringOUTGOING_FLOW_ON_END_EVENT_PROBLEM_DESCRIPTION
-
Constructor Summary
Constructors Constructor Description EndEventIncomingOutgoingFlowValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanValidate(org.activiti.bpmn.model.FlowNode flowNode)List<ModelValidationError>validate(org.activiti.bpmn.model.FlowNode flowNode)-
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_INCOMING_FLOW_PROBLEM
public static final String NO_INCOMING_FLOW_PROBLEM
- See Also:
- Constant Field Values
-
NO_INCOMING_FLOW_PROBLEM_DESCRIPTION
public static final String NO_INCOMING_FLOW_PROBLEM_DESCRIPTION
- See Also:
- Constant Field Values
-
OUTGOING_FLOW_ON_END_EVENT_PROBLEM
public static final String OUTGOING_FLOW_ON_END_EVENT_PROBLEM
- See Also:
- Constant Field Values
-
OUTGOING_FLOW_ON_END_EVENT_PROBLEM_DESCRIPTION
public static final String OUTGOING_FLOW_ON_END_EVENT_PROBLEM_DESCRIPTION
- See Also:
- Constant Field Values
-
END_EVENT_FLOWS_VALIDATOR_NAME
public static final String END_EVENT_FLOWS_VALIDATOR_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
validate
public List<ModelValidationError> validate(org.activiti.bpmn.model.FlowNode flowNode)
- Specified by:
validatein interfaceFlowNodeFlowsValidator
-
canValidate
public boolean canValidate(org.activiti.bpmn.model.FlowNode flowNode)
- Specified by:
canValidatein interfaceFlowNodeFlowsValidator
-
-