Class DataObjectServiceTaskValidator
java.lang.Object
org.flowable.validation.validator.ValidatorImpl
com.flowable.validation.bpmn.impl.DataObjectServiceTaskValidator
- All Implemented Interfaces:
PlatformServiceTaskValidator
,Validator
public class DataObjectServiceTaskValidator
extends ValidatorImpl
implements PlatformServiceTaskValidator
- Author:
- Filip Hrisafov
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe delegate expression that this validator is responsible forvoid
validate
(BpmnModel bpmnModel, List<ValidationError> errors) void
validate
(BpmnModel bpmnModel, Process process, ServiceTask serviceTask, List<ValidationError> errors) protected void
validateCreate
(Process process, ServiceTask serviceTask, ExtensionElement dataObjectMapping, List<ValidationError> errors) protected void
validateDataObjectMapping
(Process process, ServiceTask serviceTask, ExtensionElement dataObjectMapping, List<ValidationError> errors) protected void
validateDelete
(Process process, ServiceTask serviceTask, ExtensionElement dataObjectMapping, List<ValidationError> errors) protected void
validateLookup
(Process process, ServiceTask serviceTask, ExtensionElement dataObjectMapping, List<ValidationError> errors) protected void
validateMandatoryOutputVariableName
(Process process, ServiceTask serviceTask, List<ValidationError> errors) protected void
validateNoInputDataObjectVariableName
(Process process, ServiceTask serviceTask, List<ValidationError> errors) protected void
validateOptionalOutputVariableName
(Process process, ServiceTask serviceTask, List<ValidationError> errors) protected void
validateOutputVariableName
(Process process, ServiceTask serviceTask, ExtensionElement outputVariableName, List<ValidationError> errors, boolean mandatory) protected void
validateSearch
(Process process, ServiceTask serviceTask, ExtensionElement dataObjectMapping, List<ValidationError> errors) protected void
validateUpdate
(Process process, ServiceTask serviceTask, ExtensionElement dataObjectMapping, List<ValidationError> errors) Methods inherited from class org.flowable.validation.validator.ValidatorImpl
addError, addError, addError, addError, addError, addError, addError, addError, addError, addWarning, addWarning
-
Field Details
-
EXTENSION_OPERATION_KEY
- See Also:
-
-
Constructor Details
-
DataObjectServiceTaskValidator
public DataObjectServiceTaskValidator()
-
-
Method Details
-
validate
-
getDelegateExpression
Description copied from interface:PlatformServiceTaskValidator
The delegate expression that this validator is responsible for- Specified by:
getDelegateExpression
in interfacePlatformServiceTaskValidator
-
validate
public void validate(BpmnModel bpmnModel, Process process, ServiceTask serviceTask, List<ValidationError> errors) - Specified by:
validate
in interfacePlatformServiceTaskValidator
-
validateDataObjectMapping
protected void validateDataObjectMapping(Process process, ServiceTask serviceTask, ExtensionElement dataObjectMapping, List<ValidationError> errors) -
validateLookup
protected void validateLookup(Process process, ServiceTask serviceTask, ExtensionElement dataObjectMapping, List<ValidationError> errors) -
validateSearch
protected void validateSearch(Process process, ServiceTask serviceTask, ExtensionElement dataObjectMapping, List<ValidationError> errors) -
validateCreate
protected void validateCreate(Process process, ServiceTask serviceTask, ExtensionElement dataObjectMapping, List<ValidationError> errors) -
validateUpdate
protected void validateUpdate(Process process, ServiceTask serviceTask, ExtensionElement dataObjectMapping, List<ValidationError> errors) -
validateDelete
protected void validateDelete(Process process, ServiceTask serviceTask, ExtensionElement dataObjectMapping, List<ValidationError> errors) -
validateMandatoryOutputVariableName
protected void validateMandatoryOutputVariableName(Process process, ServiceTask serviceTask, List<ValidationError> errors) -
validateOptionalOutputVariableName
protected void validateOptionalOutputVariableName(Process process, ServiceTask serviceTask, List<ValidationError> errors) -
validateOutputVariableName
protected void validateOutputVariableName(Process process, ServiceTask serviceTask, ExtensionElement outputVariableName, List<ValidationError> errors, boolean mandatory) -
validateNoInputDataObjectVariableName
protected void validateNoInputDataObjectVariableName(Process process, ServiceTask serviceTask, List<ValidationError> errors)
-