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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class org.flowable.validation.validator.ProcessLevelValidator