Class InvokeServiceCmd.ServiceInvocationResultResponseImpl
java.lang.Object
com.flowable.serviceregistry.engine.impl.cmd.InvokeServiceCmd.ServiceInvocationResultResponseImpl
- All Implemented Interfaces:
ServiceInvocationResultResponse
- Enclosing class:
- InvokeServiceCmd<T>
public static class InvokeServiceCmd.ServiceInvocationResultResponseImpl
extends Object
implements ServiceInvocationResultResponse
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ServiceInvocationResponseprotected Objectprotected ResultType -
Constructor Summary
ConstructorsConstructorDescriptionServiceInvocationResultResponseImpl(Object responseLookupId, Map<String, Object> resultMap, 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.booleanWhether 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, waitMethods inherited from interface com.flowable.serviceregistry.api.runtime.ServiceInvocationResultResponse
getResponseObject
-
Field Details
-
responseLookupId
-
resultMap
-
invocationResponse
-
resultType
-
-
Constructor Details
-
ServiceInvocationResultResponseImpl
public ServiceInvocationResultResponseImpl(Object responseLookupId, Map<String, Object> resultMap, ServiceInvocationResponse invocationResponse)
-
-
Method Details
-
getResponseLookupId
- Specified by:
getResponseLookupIdin interfaceServiceInvocationResultResponse
-
hasValue
Description copied from interface:ServiceInvocationResultResponseWhether the result response has a value with the given name. The value can also benull.- Specified by:
hasValuein interfaceServiceInvocationResultResponse- Parameters:
name- the name of the value- Returns:
trueif the result has such a value,falseotherwise
-
getValue
Description copied from interface:ServiceInvocationResultResponseThe value for the given name.nulldoes 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:
getValuein interfaceServiceInvocationResultResponse- Parameters:
name- the name of the value- Returns:
- the value
-
getResultType
Description copied from interface:ServiceInvocationResultResponseThe type of the returned result response.- Specified by:
getResultTypein interfaceServiceInvocationResultResponse
-
getResult
Description copied from interface:ServiceInvocationResultResponseThe result response. Mostly needed when accessing the result type.- Specified by:
getResultin interfaceServiceInvocationResultResponse
-
getServiceInvocationResponse
Description copied from interface:ServiceInvocationResultResponseThe service invocation response returned by the specific Service Invoker. This is a low level response.- Specified by:
getServiceInvocationResponsein interfaceServiceInvocationResultResponse
-