Class ObjectNodeServiceInvocationResult
java.lang.Object
com.flowable.serviceregistry.engine.impl.invoker.result.BaseServiceInvocationResult
com.flowable.serviceregistry.engine.impl.invoker.result.ObjectNodeServiceInvocationResult
- All Implemented Interfaces:
ServiceInvocationResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.fasterxml.jackson.databind.node.ObjectNode
-
Constructor Summary
ConstructorsConstructorDescriptionObjectNodeServiceInvocationResult
(com.fasterxml.jackson.databind.node.ObjectNode objectNode) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
asJsonNode
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) extractValue
(ServiceOutputParameter outputParameter) com.fasterxml.jackson.databind.node.ObjectNode
getValue
(int index) void
handleEmptyOutputParameters
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Map<String, Object> resultMap) boolean
processResultsAccordingToServiceDefinitionModel
(ServiceDefinitionModel serviceDefinitionModel, ServiceOperation serviceOperation, ServiceInvocationContextImpl context, ServiceRegistryEngineConfiguration serviceEngineConfiguration, ServiceInvocationResultResponse invocationResponse, com.fasterxml.jackson.databind.ObjectMapper objectMapper) int
size()
-
Field Details
-
objectNode
protected com.fasterxml.jackson.databind.node.ObjectNode objectNode
-
-
Constructor Details
-
ObjectNodeServiceInvocationResult
public ObjectNodeServiceInvocationResult(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
-
-
Method Details
-
getValue
-
hasValue
-
getValue
-
size
public int size() -
getResultType
-
processResultsAccordingToServiceDefinitionModel
public ServiceInvocationResult processResultsAccordingToServiceDefinitionModel(ServiceDefinitionModel serviceDefinitionModel, ServiceOperation serviceOperation, ServiceInvocationContextImpl context, ServiceRegistryEngineConfiguration serviceEngineConfiguration, ServiceInvocationResultResponse invocationResponse, com.fasterxml.jackson.databind.ObjectMapper objectMapper) - Specified by:
processResultsAccordingToServiceDefinitionModel
in classBaseServiceInvocationResult
-
extractValue
- Specified by:
extractValue
in classBaseServiceInvocationResult
-
handleEmptyOutputParameters
public void handleEmptyOutputParameters(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Map<String, Object> resultMap) - Overrides:
handleEmptyOutputParameters
in classBaseServiceInvocationResult
-
getObjectNode
public com.fasterxml.jackson.databind.node.ObjectNode getObjectNode() -
asJsonNode
public com.fasterxml.jackson.databind.JsonNode asJsonNode(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-