Class BaseServiceOperation
java.lang.Object
com.flowable.serviceregistry.engine.impl.repository.BaseServiceOperation
- All Implemented Interfaces:
ServiceOperation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodegetKey()getName()An optional output type for the operation, which can be either an 'object' or an 'array'.getType()voidsetConfig(com.fasterxml.jackson.databind.JsonNode config) voidsetDescription(String description) voidsetInputParameters(List<ServiceInputParameter> inputParameters) voidvoidvoidsetOutputParameters(List<ServiceOutputParameter> outputParameters) voidsetOutputType(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:
getKeyin interfaceServiceOperation
-
setKey
-
getName
- Specified by:
getNamein interfaceServiceOperation
-
setName
-
getType
- Specified by:
getTypein interfaceServiceOperation- See Also:
-
setType
-
getDescription
- Specified by:
getDescriptionin interfaceServiceOperation
-
setDescription
-
getOutputType
Description copied from interface:ServiceOperationAn 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:
getOutputTypein 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:
getConfigin interfaceServiceOperation
-
setConfig
public void setConfig(com.fasterxml.jackson.databind.JsonNode config) -
getInputParameters
- Specified by:
getInputParametersin interfaceServiceOperation
-
setInputParameters
-
getOutputParameters
- Specified by:
getOutputParametersin interfaceServiceOperation
-
setOutputParameters
-