Package org.xwiki.refactoring.job
Class EntityJobStatus<T extends EntityRequest>
- java.lang.Object
-
- org.xwiki.job.AbstractJobStatus<R>
-
- org.xwiki.job.DefaultJobStatus<T>
-
- org.xwiki.refactoring.job.EntityJobStatus<T>
-
- Type Parameters:
T
- the request type
- All Implemented Interfaces:
org.xwiki.job.event.status.CancelableJobStatus
,org.xwiki.job.event.status.JobStatus
public class EntityJobStatus<T extends EntityRequest> extends org.xwiki.job.DefaultJobStatus<T>
Generic job status for a job that performs anEntityRequest
.- Since:
- 7.2M1
- Version:
- $Id: 65fee7a71387516ecf2ab8025fb13f1e53d6d91f $
-
-
Constructor Summary
Constructors Constructor Description EntityJobStatus(String jobType, T request, org.xwiki.observation.ObservationManager observationManager, org.xwiki.logging.LoggerManager loggerManager, org.xwiki.job.event.status.JobStatus parentJobStatus)
Creates a new instance.EntityJobStatus(T request, org.xwiki.observation.ObservationManager observationManager, org.xwiki.logging.LoggerManager loggerManager, org.xwiki.job.event.status.JobStatus parentJobStatus)
Deprecated.since 9.2RC1, useEntityJobStatus(String, EntityRequest, ObservationManager, LoggerManager, JobStatus)
instead
-
Method Summary
-
Methods inherited from class org.xwiki.job.AbstractJobStatus
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
-
-
-
-
Constructor Detail
-
EntityJobStatus
public EntityJobStatus(T request, org.xwiki.observation.ObservationManager observationManager, org.xwiki.logging.LoggerManager loggerManager, org.xwiki.job.event.status.JobStatus parentJobStatus)
Deprecated.since 9.2RC1, useEntityJobStatus(String, EntityRequest, ObservationManager, LoggerManager, JobStatus)
insteadCreates a new instance.- Parameters:
request
- the request provided when the job was startedobservationManager
- the observation managerloggerManager
- the logger managerparentJobStatus
- the status of the parent job, ornull
if this job doesn't have a parent
-
EntityJobStatus
public EntityJobStatus(String jobType, T request, org.xwiki.observation.ObservationManager observationManager, org.xwiki.logging.LoggerManager loggerManager, org.xwiki.job.event.status.JobStatus parentJobStatus)
Creates a new instance.- Parameters:
jobType
- the type of the jobrequest
- the request provided when the job was startedobservationManager
- the observation managerloggerManager
- the logger managerparentJobStatus
- the status of the parent job, ornull
if this job doesn't have a parent
-
-