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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<Integer>
allowRun
protected SchedulerExecutorStatus
executorStatus
protected SchedulerStatus
status
-
Constructor Summary
Constructors Constructor Description SchedulerStatusResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Integer>
getAllowRun()
IDs of Jobs that are allowed to run, although the scheduler is suspendedSchedulerExecutorStatus
getExecutorStatus()
The scheduler executor status.SchedulerStatus
getStatus()
Scheduler statusSchedulerStatusResponse
setAllowRun(Set<Integer> allowRun)
Set allowed Jobs IDsSchedulerStatusResponse
setExecutorStatus(SchedulerExecutorStatus executorStatus)
Set the scheduler executor status.SchedulerStatusResponse
setStatus(SchedulerStatus status)
Set the status-
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
-
-
-
Field Detail
-
status
protected SchedulerStatus status
-
executorStatus
protected SchedulerExecutorStatus executorStatus
-
-
Method Detail
-
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
-
-