Class AgentInstanceImpl
java.lang.Object
io.camunda.client.impl.search.response.AgentInstanceImpl
- All Implemented Interfaces:
AgentInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.client.api.search.response.AgentInstance
AgentInstance.Definition, AgentInstance.Limits, AgentInstance.Metrics, AgentInstance.Tool -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the unique key identifying this agent instance.Returns the timestamp when this agent instance completed, ornullif still running.Returns the timestamp when this agent instance was created.Returns the static definition of the agent, containing model, provider, and system prompt set at creation time.Returns the BPMN element ID of the ad-hoc sub-process or AI agent task.Returns the keys of all element instances associated with this agent instance.Returns the timestamp of the most recent update to this agent instance.Returns the configured execution limits for this agent instance, set once at creation time.Returns the aggregated runtime metrics for this agent instance.Returns the BPMN process ID of the associated process definition.longReturns the key of the process definition associated with this agent instance.intReturns the version number of the associated process definition.Returns the version tag of the associated process definition, ornullif none was configured.longReturns the key of the process instance that owns this agent instance.longReturns the key of the root process instance.Returns the current execution status of the agent instance.Returns the tenant ID of this agent instance.getTools()Returns the list of tools available to this agent.
-
Constructor Details
-
AgentInstanceImpl
-
-
Method Details
-
getAgentInstanceKey
public long getAgentInstanceKey()Description copied from interface:AgentInstanceReturns the unique key identifying this agent instance.- Specified by:
getAgentInstanceKeyin interfaceAgentInstance
-
getStatus
Description copied from interface:AgentInstanceReturns the current execution status of the agent instance.- Specified by:
getStatusin interfaceAgentInstance
-
getDefinition
Description copied from interface:AgentInstanceReturns the static definition of the agent, containing model, provider, and system prompt set at creation time.- Specified by:
getDefinitionin interfaceAgentInstance
-
getMetrics
Description copied from interface:AgentInstanceReturns the aggregated runtime metrics for this agent instance.- Specified by:
getMetricsin interfaceAgentInstance
-
getLimits
Description copied from interface:AgentInstanceReturns the configured execution limits for this agent instance, set once at creation time.- Specified by:
getLimitsin interfaceAgentInstance
-
getTools
Description copied from interface:AgentInstanceReturns the list of tools available to this agent.- Specified by:
getToolsin interfaceAgentInstance
-
getElementId
Description copied from interface:AgentInstanceReturns the BPMN element ID of the ad-hoc sub-process or AI agent task.- Specified by:
getElementIdin interfaceAgentInstance
-
getProcessInstanceKey
public long getProcessInstanceKey()Description copied from interface:AgentInstanceReturns the key of the process instance that owns this agent instance.- Specified by:
getProcessInstanceKeyin interfaceAgentInstance
-
getRootProcessInstanceKey
public long getRootProcessInstanceKey()Description copied from interface:AgentInstanceReturns the key of the root process instance.- Specified by:
getRootProcessInstanceKeyin interfaceAgentInstance
-
getProcessDefinitionKey
public long getProcessDefinitionKey()Description copied from interface:AgentInstanceReturns the key of the process definition associated with this agent instance.- Specified by:
getProcessDefinitionKeyin interfaceAgentInstance
-
getProcessDefinitionId
Description copied from interface:AgentInstanceReturns the BPMN process ID of the associated process definition.- Specified by:
getProcessDefinitionIdin interfaceAgentInstance
-
getProcessDefinitionVersion
public int getProcessDefinitionVersion()Description copied from interface:AgentInstanceReturns the version number of the associated process definition.- Specified by:
getProcessDefinitionVersionin interfaceAgentInstance
-
getProcessDefinitionVersionTag
Description copied from interface:AgentInstanceReturns the version tag of the associated process definition, ornullif none was configured.- Specified by:
getProcessDefinitionVersionTagin interfaceAgentInstance
-
getTenantId
Description copied from interface:AgentInstanceReturns the tenant ID of this agent instance.- Specified by:
getTenantIdin interfaceAgentInstance
-
getCreationDate
Description copied from interface:AgentInstanceReturns the timestamp when this agent instance was created.- Specified by:
getCreationDatein interfaceAgentInstance
-
getLastUpdatedDate
Description copied from interface:AgentInstanceReturns the timestamp of the most recent update to this agent instance.- Specified by:
getLastUpdatedDatein interfaceAgentInstance
-
getCompletionDate
Description copied from interface:AgentInstanceReturns the timestamp when this agent instance completed, ornullif still running.- Specified by:
getCompletionDatein interfaceAgentInstance
-
getElementInstanceKeys
Description copied from interface:AgentInstanceReturns the keys of all element instances associated with this agent instance.- Specified by:
getElementInstanceKeysin interfaceAgentInstance
-