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,
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,
LoggerManager loggerManager) |
answered, ask, ask, getEndDate, getError, getJobType, getLog, getLog, getParentJobStatus, getProgress, getQuestion, getRequest, getStartDate, getState, isIsolated, isSubJob, setEndDate, setError, setIsolated, setStartDate, setState, startListening, stopListening@Deprecated public DefaultJobStatus(R request, JobStatus parentJobStatus, org.xwiki.observation.ObservationManager observationManager, 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, 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–2017 XWiki. All rights reserved.