Class InvokeServiceCmd.ServiceInvocationArrayResultResponse
java.lang.Object
com.flowable.serviceregistry.engine.impl.cmd.InvokeServiceCmd.ServiceInvocationArrayResultResponse
- All Implemented Interfaces:
ServiceInvocationResultResponse
- Enclosing class:
- InvokeServiceCmd<T>
public static class InvokeServiceCmd.ServiceInvocationArrayResultResponse
extends Object
implements ServiceInvocationResultResponse
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ServiceInvocationResponse
protected final Object
protected final Object
-
Constructor Summary
ConstructorDescriptionServiceInvocationArrayResultResponse
(Object responseLookupId, com.fasterxml.jackson.databind.node.ArrayNode resultResponse, ServiceInvocationResponse invocationResponse) ServiceInvocationArrayResultResponse
(Object responseLookupId, Collection<Map<String, Object>> resultResponse, ServiceInvocationResponse invocationResponse) -
Method Summary
Modifier and TypeMethodDescriptionThe result response.The type of the returned result response.The service invocation response returned by the specific Service Invoker.The value for the given name.boolean
Whether the result response has a value with the given name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.serviceregistry.api.runtime.ServiceInvocationResultResponse
getResponseObject
-
Field Details
-
responseLookupId
-
resultResponse
-
invocationResponse
-
-
Constructor Details
-
ServiceInvocationArrayResultResponse
public ServiceInvocationArrayResultResponse(Object responseLookupId, Collection<Map<String, Object>> resultResponse, ServiceInvocationResponse invocationResponse) -
ServiceInvocationArrayResultResponse
public ServiceInvocationArrayResultResponse(Object responseLookupId, com.fasterxml.jackson.databind.node.ArrayNode resultResponse, ServiceInvocationResponse invocationResponse)
-
-
Method Details
-
getResponseLookupId
- Specified by:
getResponseLookupId
in interfaceServiceInvocationResultResponse
-
hasValue
Description copied from interface:ServiceInvocationResultResponse
Whether the result response has a value with the given name. The value can also benull
.- Specified by:
hasValue
in interfaceServiceInvocationResultResponse
- Parameters:
name
- the name of the value- Returns:
true
if the result has such a value,false
otherwise
-
getValue
Description copied from interface:ServiceInvocationResultResponse
The value for the given name.null
does not mean that there is no value, it can mean that the value that was present isnull
. UseServiceInvocationResultResponse.hasValue(String)
to check if the result has a certain value or not.- Specified by:
getValue
in interfaceServiceInvocationResultResponse
- Parameters:
name
- the name of the value- Returns:
- the value
-
getResultType
Description copied from interface:ServiceInvocationResultResponse
The type of the returned result response.- Specified by:
getResultType
in interfaceServiceInvocationResultResponse
-
getResult
Description copied from interface:ServiceInvocationResultResponse
The result response. Mostly needed when accessing the result type.- Specified by:
getResult
in interfaceServiceInvocationResultResponse
-
getServiceInvocationResponse
Description copied from interface:ServiceInvocationResultResponse
The service invocation response returned by the specific Service Invoker. This is a low level response.- Specified by:
getServiceInvocationResponse
in interfaceServiceInvocationResultResponse
-