Interface AdminCommandState

All Known Subinterfaces:
Job

public interface AdminCommandState
Author:
Martin Mares, Bhakti Mehta
  • Field Details

  • Method Details

    • isJobStillActive

      default boolean isJobStillActive()
      Returns:
      true if the job is in one of states: PREPARED, RUNNING, RUNNING_RETRYABLE
    • getState

      Returns:
      current state of the command. Never null.
    • getActionReport

      ActionReport getActionReport()
      Action report is created on Job creation and is just updated for its lifetime.
      Returns:
      ActionReport, never null
    • isOutboundPayloadEmpty

      boolean isOutboundPayloadEmpty()
      Returns:
      true if there are data in outbound payload.
    • getId

      String getId()
      Returns:
      job id. Can be null.
    • getName

      String getName()
      Returns:
      job name. Can be null.