Class InvokeServiceCmd.ServiceInvocationResultResponseImpl
- java.lang.Object
-
- com.flowable.serviceregistry.engine.impl.cmd.InvokeServiceCmd.ServiceInvocationResultResponseImpl
-
- All Implemented Interfaces:
ServiceInvocationResultResponse
- Enclosing class:
- InvokeServiceCmd
public static class InvokeServiceCmd.ServiceInvocationResultResponseImpl extends java.lang.Object implements ServiceInvocationResultResponse
-
-
Field Summary
Fields Modifier and Type Field Description protected ServiceInvocationResponseinvocationResponseprotected java.lang.ObjectresponseLookupIdprotected java.util.Map<java.lang.String,java.lang.Object>resultMap
-
Constructor Summary
Constructors Constructor Description ServiceInvocationResultResponseImpl(java.lang.Object responseLookupId, java.util.Map<java.lang.String,java.lang.Object> resultMap, ServiceInvocationResponse invocationResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetResponseLookupId()ServiceInvocationResponsegetServiceInvocationResponse()The service invocation response returned by the specific Service Invoker.java.lang.ObjectgetValue(java.lang.String name)The the value for the given name.booleanhasValue(java.lang.String name)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 Detail
-
responseLookupId
protected java.lang.Object responseLookupId
-
resultMap
protected java.util.Map<java.lang.String,java.lang.Object> resultMap
-
invocationResponse
protected ServiceInvocationResponse invocationResponse
-
-
Constructor Detail
-
ServiceInvocationResultResponseImpl
public ServiceInvocationResultResponseImpl(java.lang.Object responseLookupId, java.util.Map<java.lang.String,java.lang.Object> resultMap, ServiceInvocationResponse invocationResponse)
-
-
Method Detail
-
getResponseLookupId
public java.lang.Object getResponseLookupId()
- Specified by:
getResponseLookupIdin interfaceServiceInvocationResultResponse
-
hasValue
public boolean hasValue(java.lang.String name)
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
public java.lang.Object getValue(java.lang.String name)
Description copied from interface:ServiceInvocationResultResponseThe the 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
-
getServiceInvocationResponse
public ServiceInvocationResponse 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
-
-