Interface FinalCommandStep<T>

All Known Subinterfaces:
ActivateJobsCommandStep1.ActivateJobsCommandStep3, AddPermissionsCommandStep1.AddPermissionsCommandStep4, AssignUserTaskCommandStep1, BroadcastSignalCommandStep1.BroadcastSignalCommandStep2, CancelProcessInstanceCommandStep1, ClockPinCommandStep1, ClockResetCommandStep1, CompleteJobCommandStep1, CompleteUserTaskCommandStep1, CorrelateMessageCommandStep1.CorrelateMessageCommandStep3, CreateDocumentBatchCommandStep1, CreateDocumentCommandStep1.CreateDocumentCommandStep2, CreateDocumentLinkCommandStep1, CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3, CreateProcessInstanceCommandStep1.CreateProcessInstanceWithResultCommandStep1, CreateUserCommandStep1, DecisionDefinitionGetXmlRequest, DecisionDefinitionQuery, DecisionRequirementsQuery, DeleteDocumentCommandStep1, DeleteResourceCommandStep1, DeployProcessCommandStep1.DeployProcessCommandBuilderStep2, DeployResourceCommandStep1.DeployResourceCommandStep2, DocumentContentGetRequest, EvaluateDecisionCommandStep1.EvaluateDecisionCommandStep2, FailJobCommandStep1.FailJobCommandStep2, FinalSearchQueryStep<T>, FlownodeInstanceQuery, IncidentQuery, MigrateProcessInstanceCommandStep1.MigrateProcessInstanceCommandFinalStep, ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep2, ModifyProcessInstanceCommandStep1.ModifyProcessInstanceCommandStep3, ProcessInstanceQuery, PublishMessageCommandStep1.PublishMessageCommandStep3, ResolveIncidentCommandStep1, SetVariablesCommandStep1.SetVariablesCommandStep2, StreamJobsCommandStep1.StreamJobsCommandStep3, ThrowErrorCommandStep1.ThrowErrorCommandStep2, TopologyRequestStep1, UnassignUserTaskCommandStep1, UpdateJobCommandStep1.UpdateJobCommandStep2, UpdateRetriesJobCommandStep1.UpdateRetriesJobCommandStep2, UpdateTimeoutJobCommandStep1.UpdateTimeoutJobCommandStep2, UpdateUserTaskCommandStep1, UserTaskQuery
All Known Implementing Classes:
ActivateJobsCommandImpl, AssignUserTaskCommandImpl, BroadcastSignalCommandImpl, CancelProcessInstanceCommandImpl, ClockPinCommandImpl, ClockResetCommandImpl, CompleteJobCommandImpl, CompleteUserTaskCommandImpl, CorrelateMessageCommandImpl, CreateDocumentBatchCommandImpl, CreateDocumentCommandImpl, CreateDocumentLinkCommandImpl, CreateProcessInstanceCommandImpl, CreateProcessInstanceWithResultCommandImpl, CreateUserCommandImpl, DeleteDocumentCommandImpl, DeleteResourceCommandImpl, DeployProcessCommandImpl, DeployResourceCommandImpl, DocumentContentGetRequestImpl, EvaluateDecisionCommandImpl, FailJobCommandImpl, JobUpdateCommandImpl, JobUpdateRetriesCommandImpl, JobUpdateTimeoutCommandImpl, MigrateProcessInstanceCommandImpl, ModifyProcessInstanceCommandImpl, PublishMessageCommandImpl, ResolveIncidentCommandImpl, SetVariablesCommandImpl, StreamJobsCommandImpl, ThrowErrorCommandImpl, TopologyRequestImpl, UnassignUserTaskCommandImpl, UpdateUserTaskCommandImpl

public interface FinalCommandStep<T>
Deprecated.
since 8.8 for removal in 8.9, replaced by FinalCommandStep
  • Method Summary

    Modifier and Type
    Method
    Description
    requestTimeout(Duration requestTimeout)
    Deprecated.
    Sets the request timeout for the command.
    Deprecated.
    Sends the command to the Zeebe broker.
  • Method Details

    • requestTimeout

      FinalCommandStep<T> requestTimeout(Duration requestTimeout)
      Deprecated.
      Sets the request timeout for the command. The default request timeout can be configured using ZeebeClientBuilder.defaultRequestTimeout(Duration).
      Parameters:
      requestTimeout - the request timeout
      Returns:
      the configured command
    • send

      ZeebeFuture<T> send()
      Deprecated.
      Sends the command to the Zeebe broker. This operation is asynchronous. In case of success, the future returns the event that was generated by the Zeebe broker in response to the command.

      Call ZeebeFuture.join() to wait until the response is available.

       Future<JobEventinvalid input: '&#62' future = command.send();
       JobEvent event = future.join();
       
      Returns:
      a future tracking state of success/failure of the command.