Class ServiceRegistryServiceTaskValidator

java.lang.Object
com.flowable.validation.bpmn.impl.ServiceRegistryServiceTaskValidator
All Implemented Interfaces:
PlatformServiceTaskValidator

public class ServiceRegistryServiceTaskValidator extends Object implements PlatformServiceTaskValidator
Author:
Filip Hrisafov
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected BiFunction<String, String, tools.jackson.databind.JsonNode>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ServiceRegistryServiceTaskValidator(BiFunction<String, String, tools.jackson.databind.JsonNode> serviceModelContentProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected tools.jackson.databind.JsonNode
    findOperation(String serviceModelKey, String workspaceId, String operationKey)
     
    The delegate expression that this validator is responsible for
    void
    validate(org.flowable.bpmn.model.BpmnModel bpmnModel, org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.ServiceTask serviceTask, org.flowable.validation.ProcessValidationContext validationContext)
     
    protected void
    validateInputParameter(org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.ServiceTask serviceTask, org.flowable.bpmn.model.ExtensionElement inputParameter, org.flowable.validation.ProcessValidationContext validationContext)
     
    protected void
    validateInputParametersAgainstModel(org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.ServiceTask serviceTask, List<org.flowable.bpmn.model.ExtensionElement> inputParameters, tools.jackson.databind.JsonNode operationNode, org.flowable.validation.ProcessValidationContext validationContext)
     
    protected void
    validateOutputParameter(org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.ServiceTask serviceTask, org.flowable.bpmn.model.ExtensionElement inputParameter, org.flowable.validation.ProcessValidationContext validationContext)
     
    protected void
    validateServiceMapping(org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.ServiceTask serviceTask, org.flowable.bpmn.model.ExtensionElement serviceMapping, org.flowable.validation.ProcessValidationContext validationContext)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serviceModelContentProvider

      protected BiFunction<String, String, tools.jackson.databind.JsonNode> serviceModelContentProvider
  • Constructor Details

    • ServiceRegistryServiceTaskValidator

      public ServiceRegistryServiceTaskValidator()
    • ServiceRegistryServiceTaskValidator

      public ServiceRegistryServiceTaskValidator(BiFunction<String, String, tools.jackson.databind.JsonNode> serviceModelContentProvider)
  • Method Details

    • getDelegateExpression

      public String getDelegateExpression()
      Description copied from interface: PlatformServiceTaskValidator
      The delegate expression that this validator is responsible for
      Specified by:
      getDelegateExpression in interface PlatformServiceTaskValidator
    • validate

      public void validate(org.flowable.bpmn.model.BpmnModel bpmnModel, org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.ServiceTask serviceTask, org.flowable.validation.ProcessValidationContext validationContext)
      Specified by:
      validate in interface PlatformServiceTaskValidator
    • findOperation

      protected tools.jackson.databind.JsonNode findOperation(String serviceModelKey, String workspaceId, String operationKey)
    • validateInputParametersAgainstModel

      protected void validateInputParametersAgainstModel(org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.ServiceTask serviceTask, List<org.flowable.bpmn.model.ExtensionElement> inputParameters, tools.jackson.databind.JsonNode operationNode, org.flowable.validation.ProcessValidationContext validationContext)
    • validateServiceMapping

      protected void validateServiceMapping(org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.ServiceTask serviceTask, org.flowable.bpmn.model.ExtensionElement serviceMapping, org.flowable.validation.ProcessValidationContext validationContext)
    • validateInputParameter

      protected void validateInputParameter(org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.ServiceTask serviceTask, org.flowable.bpmn.model.ExtensionElement inputParameter, org.flowable.validation.ProcessValidationContext validationContext)
    • validateOutputParameter

      protected void validateOutputParameter(org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.ServiceTask serviceTask, org.flowable.bpmn.model.ExtensionElement inputParameter, org.flowable.validation.ProcessValidationContext validationContext)