Class A2AAgentPollJobHandler

java.lang.Object
com.flowable.agent.engine.impl.job.A2AAgentPollJobHandler
All Implemented Interfaces:
org.flowable.job.service.JobHandler

public class A2AAgentPollJobHandler extends Object implements org.flowable.job.service.JobHandler
  • Field Details

  • Constructor Details

    • A2AAgentPollJobHandler

      public A2AAgentPollJobHandler()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface org.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:
      execute in interface org.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

      protected Date calculateDueDate(org.flowable.common.engine.impl.runtime.Clock clock, int currentRetryCount, Date oldDate, Duration retryTimeout)
    • getRetryConfiguration

      protected A2AAgentPollJobHandler.RetryConfiguration getRetryConfiguration(AgentDefinitionModel agentDefinitionModel)