Class SchedulerStatusResponse

java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.scheduler.SchedulerStatusResponse
All Implemented Interfaces:
Serializable

public class SchedulerStatusResponse extends GenericResponse
Scheduler status
See Also:
  • Field Details

  • Constructor Details

    • SchedulerStatusResponse

      public SchedulerStatusResponse()
  • Method Details

    • getStatus

      public SchedulerStatus getStatus()
      Scheduler status
      Returns:
      status
    • setStatus

      public SchedulerStatusResponse setStatus(SchedulerStatus status)
      Set the status
      Parameters:
      status - status
      Returns:
      fluent API
    • getExecutorStatus

      public SchedulerExecutorStatus getExecutorStatus()
      The scheduler executor status.
      Returns:
      The scheduler executor status.
    • setExecutorStatus

      public SchedulerStatusResponse setExecutorStatus(SchedulerExecutorStatus executorStatus)
      Set the scheduler executor status.
      Parameters:
      executorStatus - The scheduler executor status.
      Returns:
      fluent API
    • getAllowRun

      public Set<Integer> getAllowRun()
      IDs of Jobs that are allowed to run, although the scheduler is suspended
      Returns:
      job IDs
    • setAllowRun

      public SchedulerStatusResponse setAllowRun(Set<Integer> allowRun)
      Set allowed Jobs IDs
      Parameters:
      allowRun - job IDs
      Returns:
      fluent API