Class AzureAiFoundryExternalAgentInvoker
java.lang.Object
com.flowable.agent.engine.impl.model.external.azure.AzureAiFoundryExternalAgentInvoker
- All Implemented Interfaces:
ExternalAgentInvoker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AzureAiFoundryClientstatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionAzureAiFoundryExternalAgentInvoker(AzureAiFoundryClient azureAiFoundryClient) -
Method Summary
Modifier and TypeMethodDescriptiongetKey()protected static longgetLongProperty(ExternalAgentInvocationRequest request, String property, long defaultValue) protected static StringgetProperty(ExternalAgentInvocationRequest request, String property) protected static StringgetProperty(Map<String, Object> properties, String property) protected StringgetResponseMessage(FlowableAuthenticationApiKey apiKey, String connectionString, String tenantId, AzureAiFoundryExternalAgentInvocationResult result, String runId) getResult(ExternalAgentUpdateRequest externalAgentUpdateRequest) invoke(ExternalAgentInvocationRequest request) protected static booleanprotected voidsleep(long millisToWait)
-
Field Details
-
ROLE_USER
- See Also:
-
KEY
- See Also:
-
PROPERTY_CONNECTION_STRING
- See Also:
-
azureAiFoundryClient
-
-
Constructor Details
-
AzureAiFoundryExternalAgentInvoker
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceExternalAgentInvoker
-
invoke
- Specified by:
invokein interfaceExternalAgentInvoker
-
getResult
public ExternalAgentInvocationResult getResult(ExternalAgentUpdateRequest externalAgentUpdateRequest) - Specified by:
getResultin interfaceExternalAgentInvoker
-
getResponseMessage
protected String getResponseMessage(FlowableAuthenticationApiKey apiKey, String connectionString, String tenantId, AzureAiFoundryExternalAgentInvocationResult result, String runId) -
isRunning
-
getProperty
-
getProperty
-
getLongProperty
protected static long getLongProperty(ExternalAgentInvocationRequest request, String property, long defaultValue) -
sleep
protected void sleep(long millisToWait)
-