Class A2AAgentPollJobHandler
java.lang.Object
com.flowable.agent.engine.impl.job.A2AAgentPollJobHandler
- All Implemented Interfaces:
org.flowable.job.service.JobHandler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final record -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DatecalculateDueDate(org.flowable.common.engine.impl.runtime.Clock clock, int currentRetryCount, Date oldDate, Duration retryTimeout) voidexecute(org.flowable.job.service.impl.persistence.entity.JobEntity job, String configuration, org.flowable.variable.api.delegate.VariableScope variableScope, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) getRetryConfiguration(AgentDefinitionModel agentDefinitionModel) getType()protected voidreschedulePollingJob(org.flowable.job.service.impl.persistence.entity.JobEntity job, org.flowable.variable.api.delegate.VariableScope variableScope, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, int currentRetryCount, Duration retryTimeout)
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
A2AAgentPollJobHandler
public A2AAgentPollJobHandler()
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceorg.flowable.job.service.JobHandler
-
execute
public void execute(org.flowable.job.service.impl.persistence.entity.JobEntity job, String configuration, org.flowable.variable.api.delegate.VariableScope variableScope, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executein interfaceorg.flowable.job.service.JobHandler
-
reschedulePollingJob
protected void reschedulePollingJob(org.flowable.job.service.impl.persistence.entity.JobEntity job, org.flowable.variable.api.delegate.VariableScope variableScope, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, int currentRetryCount, Duration retryTimeout) -
calculateDueDate
-
getRetryConfiguration
protected A2AAgentPollJobHandler.RetryConfiguration getRetryConfiguration(AgentDefinitionModel agentDefinitionModel)
-