R
- the request type associated to the job@Serializable public class DefaultJobStatus<R extends Request> extends AbstractJobStatus<R>
JobStatus
.JobStatus.State
Constructor and Description |
---|
DefaultJobStatus(R request,
JobStatus parentJobStatus,
org.xwiki.observation.ObservationManager observationManager,
org.xwiki.logging.LoggerManager loggerManager)
Deprecated.
since 9.2RC1, use
DefaultJobStatus(String, Request, JobStatus, ObservationManager, LoggerManager) instead |
DefaultJobStatus(String jobType,
R request,
JobStatus parentJobStatus,
org.xwiki.observation.ObservationManager observationManager,
org.xwiki.logging.LoggerManager loggerManager) |
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
@Deprecated public DefaultJobStatus(R request, JobStatus parentJobStatus, org.xwiki.observation.ObservationManager observationManager, org.xwiki.logging.LoggerManager loggerManager)
DefaultJobStatus(String, Request, JobStatus, ObservationManager, LoggerManager)
insteadrequest
- the request provided when started the jobparentJobStatus
- the status of the parent job (i.e. the status of the job that started this one); pass
null
if this job hasn't been started by another job (i.e. if this is not a sub-job)observationManager
- the observation manager componentloggerManager
- the logger manager componentpublic DefaultJobStatus(String jobType, R request, JobStatus parentJobStatus, org.xwiki.observation.ObservationManager observationManager, org.xwiki.logging.LoggerManager loggerManager)
jobType
- the type of the jobrequest
- the request provided when started the jobparentJobStatus
- the status of the parent job (i.e. the status of the job that started this one); pass
null
if this job hasn't been started by another job (i.e. if this is not a sub-job)observationManager
- the observation manager componentloggerManager
- the logger manager componentCopyright © 2004–2021 XWiki. All rights reserved.