Class BaseServiceOperation
java.lang.Object
com.flowable.serviceregistry.engine.impl.repository.BaseServiceOperation
- All Implemented Interfaces:
ServiceOperation
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
getKey()
getName()
An optional output type for the operation, which can be either an 'object' or an 'array'.getType()
void
setConfig
(com.fasterxml.jackson.databind.JsonNode config) void
setDescription
(String description) void
setInputParameters
(List<ServiceInputParameter> inputParameters) void
void
void
setOutputParameters
(List<ServiceOutputParameter> outputParameters) void
setOutputType
(String outputType) void
-
Field Details
-
OUTPUT_TYPE_OBJECT
- See Also:
-
OUTPUT_TYPE_ARRAY
- See Also:
-
key
-
name
-
type
-
description
-
outputType
-
config
protected com.fasterxml.jackson.databind.JsonNode config -
inputParameters
-
outputParameters
-
-
Constructor Details
-
BaseServiceOperation
public BaseServiceOperation()
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceServiceOperation
-
setKey
-
getName
- Specified by:
getName
in interfaceServiceOperation
-
setName
-
getType
- Specified by:
getType
in interfaceServiceOperation
- See Also:
-
setType
-
getDescription
- Specified by:
getDescription
in interfaceServiceOperation
-
setDescription
-
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 interfaceServiceOperation
- 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
-
getConfig
public com.fasterxml.jackson.databind.JsonNode getConfig()- Specified by:
getConfig
in interfaceServiceOperation
-
setConfig
public void setConfig(com.fasterxml.jackson.databind.JsonNode config) -
getInputParameters
- Specified by:
getInputParameters
in interfaceServiceOperation
-
setInputParameters
-
getOutputParameters
- Specified by:
getOutputParameters
in interfaceServiceOperation
-
setOutputParameters
-