Package io.jmix.bpm.engine.validator
Class BpmUserTaskValidator
java.lang.Object
org.flowable.validation.validator.ValidatorImpl
org.flowable.validation.validator.ProcessLevelValidator
io.jmix.bpm.engine.validator.BpmUserTaskValidator
- All Implemented Interfaces:
org.flowable.validation.validator.Validator
public class BpmUserTaskValidator
extends org.flowable.validation.validator.ProcessLevelValidator
Validator checks that UserTask due date duration is not defined in days, weeks, months or years when a business
calendar is also selected. Business calendar cannot add days to date with time part, so the duration must be defined
in hours or minutes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
executeValidation
(org.flowable.bpmn.model.BpmnModel bpmnModel, org.flowable.bpmn.model.Process process, List<org.flowable.validation.ValidationError> errors) Methods inherited from class org.flowable.validation.validator.ProcessLevelValidator
validate
Methods inherited from class org.flowable.validation.validator.ValidatorImpl
addError, addError, addError, addError, addError, addError, addError, addError, addError, addWarning, addWarning
-
Constructor Details
-
BpmUserTaskValidator
public BpmUserTaskValidator()
-
-
Method Details
-
executeValidation
protected void executeValidation(org.flowable.bpmn.model.BpmnModel bpmnModel, org.flowable.bpmn.model.Process process, List<org.flowable.validation.ValidationError> errors) - Specified by:
executeValidation
in classorg.flowable.validation.validator.ProcessLevelValidator
-