public class ReplayJobStatus extends org.xwiki.job.DefaultJobStatus<ReplayRequest>
Constructor and Description |
---|
ReplayJobStatus(ReplayRequest request,
ObservationManager observationManager,
LoggerManager loggerManager)
Creates a new job status.
|
Modifier and Type | Method and Description |
---|---|
ExtensionJobHistoryRecord |
getCurrentRecord() |
int |
getCurrentRecordNumber() |
void |
setCurrentRecordNumber(int currentRecordNumber)
Sets the number of the history record that is currently being replayed.
|
answered, ask, ask, cancel, getEndDate, getError, getJobType, getLog, getLog, getLoggerTail, getLogTail, getParentJobStatus, getProgress, getQuestion, getQuestionTimeLeft, getRequest, getStartDate, getState, ignoreLogs, isCancelable, isCanceled, isIsolated, isSerialized, isSubJob, setCancelable, setEndDate, setError, setIsolated, setLoggerTail, setStartDate, setState, startListening, stopListening
public ReplayJobStatus(ReplayRequest request, ObservationManager observationManager, LoggerManager loggerManager)
request
- the request provided when the job was startedobservationManager
- the observation managerloggerManager
- the logger managerpublic int getCurrentRecordNumber()
public void setCurrentRecordNumber(int currentRecordNumber)
currentRecordNumber
- the current record numberpublic ExtensionJobHistoryRecord getCurrentRecord()
Copyright © 2004–2021 XWiki. All rights reserved.