Class A2AAgentInvocationResultResponse
java.lang.Object
com.flowable.agent.engine.impl.runtime.A2AAgentInvocationResultResponse
- All Implemented Interfaces:
AgentInvocationResultResponse
public class A2AAgentInvocationResultResponse
extends Object
implements AgentInvocationResultResponse
- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.flowable.agent.engine.impl.runtime.AgentInvocationResultResponse
AgentInvocationResultResponse.Exchange, AgentInvocationResultResponse.ExchangePart, AgentInvocationResultResponse.Invocation -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AgentInvocationResultprotected final AgentInvocationResultResponse.Invocationprotected final Stringprotected final Stringprotected final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedA2AAgentInvocationResultResponse(AgentInvocationResult agentInvocationResult, AgentInvocationResultResponse.Invocation aiInvocation, String referenceId) protectedA2AAgentInvocationResultResponse(AgentInvocationResult agentInvocationResult, AgentInvocationResultResponse.Invocation aiInvocation, String referenceId, String taskId, String taskState) -
Method Summary
Modifier and TypeMethodDescriptionforMessage(A2AMessage message, AgentInvocationResult result, AgentInvocationResultResponse.Invocation invocation) forTask(A2ATask task, AgentInvocationResult result, AgentInvocationResultResponse.Invocation invocation)
-
Field Details
-
agentInvocationResult
-
aiInvocation
-
referenceId
-
taskId
-
taskState
-
-
Constructor Details
-
A2AAgentInvocationResultResponse
protected A2AAgentInvocationResultResponse(AgentInvocationResult agentInvocationResult, AgentInvocationResultResponse.Invocation aiInvocation, String referenceId) -
A2AAgentInvocationResultResponse
protected A2AAgentInvocationResultResponse(AgentInvocationResult agentInvocationResult, AgentInvocationResultResponse.Invocation aiInvocation, String referenceId, String taskId, String taskState)
-
-
Method Details
-
getInvocationResult
- Specified by:
getInvocationResultin interfaceAgentInvocationResultResponse
-
getUsedKnowledgeBaseReferences
- Specified by:
getUsedKnowledgeBaseReferencesin interfaceAgentInvocationResultResponse
-
getAiInvocation
- Specified by:
getAiInvocationin interfaceAgentInvocationResultResponse
-
getReferenceId
-
getReferenceType
-
getTaskId
-
getTaskState
-
forMessage
public static A2AAgentInvocationResultResponse forMessage(A2AMessage message, AgentInvocationResult result, AgentInvocationResultResponse.Invocation invocation) -
forTask
public static A2AAgentInvocationResultResponse forTask(A2ATask task, AgentInvocationResult result, AgentInvocationResultResponse.Invocation invocation)
-