Class BaseServiceOperation

java.lang.Object
com.flowable.serviceregistry.engine.impl.repository.BaseServiceOperation
All Implemented Interfaces:
ServiceOperation

public class BaseServiceOperation extends Object implements ServiceOperation
  • Field Details

  • Constructor Details

    • BaseServiceOperation

      public BaseServiceOperation()
  • Method Details

    • getKey

      public String getKey()
      Specified by:
      getKey in interface ServiceOperation
    • setKey

      public void setKey(String key)
    • getName

      public String getName()
      Specified by:
      getName in interface ServiceOperation
    • setName

      public void setName(String name)
    • getType

      public String getType()
      Specified by:
      getType in interface ServiceOperation
      See Also:
    • setType

      public void setType(String type)
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface ServiceOperation
    • setDescription

      public void setDescription(String description)
    • getOutputType

      public String getOutputType()
      Description copied from interface: ServiceOperation
      An optional output type for the operation, which can be either an 'object' or an 'array'. If set, the caller of the service can be sure that specified type will be returned. For example, when 'array' is set, the runtime will wrap a non-array response into an array. If not set (default), the service response is determined based on the type the service returns at runtime.
      Specified by:
      getOutputType in interface ServiceOperation
      Returns:
      the configured output type for the operation. If left empty, the default behaviour is used to return based on the service implementation response.
    • setOutputType

      public void setOutputType(String outputType)
    • getConfig

      public com.fasterxml.jackson.databind.JsonNode getConfig()
      Specified by:
      getConfig in interface ServiceOperation
    • setConfig

      public void setConfig(com.fasterxml.jackson.databind.JsonNode config)
    • getInputParameters

      public List<ServiceInputParameter> getInputParameters()
      Specified by:
      getInputParameters in interface ServiceOperation
    • setInputParameters

      public void setInputParameters(List<ServiceInputParameter> inputParameters)
    • getOutputParameters

      public List<ServiceOutputParameter> getOutputParameters()
      Specified by:
      getOutputParameters in interface ServiceOperation
    • setOutputParameters

      public void setOutputParameters(List<ServiceOutputParameter> outputParameters)
    • getInputToolDefinition

      public Object getInputToolDefinition()
    • setInputToolDefinition

      public void setInputToolDefinition(Object inputToolDefinition)