Package org.xwiki.extension.xar.job.diff
Class DiffXarJobStatus
- java.lang.Object
-
- org.xwiki.job.AbstractJobStatus<R>
-
- org.xwiki.job.DefaultJobStatus<org.xwiki.extension.job.InstallRequest>
-
- org.xwiki.extension.xar.job.diff.DiffXarJobStatus
-
- All Implemented Interfaces:
org.xwiki.job.event.status.CancelableJobStatus
,org.xwiki.job.event.status.JobStatus
public class DiffXarJobStatus extends org.xwiki.job.DefaultJobStatus<org.xwiki.extension.job.InstallRequest>
The status of a job that computes the differences between the documents provided by a XAR extension and the documents from the database.- Since:
- 7.0RC1
- Version:
- $Id: e5d27aa63cfa5e284edf235bdddb07eceb529929 $
-
-
Constructor Summary
Constructors Constructor Description DiffXarJobStatus(org.xwiki.extension.job.InstallRequest request, org.xwiki.observation.ObservationManager observationManager, org.xwiki.logging.LoggerManager loggerManager)
Creates a new job status.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DocumentUnifiedDiff>
getDocumentDiffs()
void
reset(DocumentReference reference)
-
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
-
DiffXarJobStatus
public DiffXarJobStatus(org.xwiki.extension.job.InstallRequest request, org.xwiki.observation.ObservationManager observationManager, org.xwiki.logging.LoggerManager loggerManager)
Creates a new job status.- Parameters:
request
- the request provided when the job was startedobservationManager
- the observation managerloggerManager
- the logger manager
-
-
Method Detail
-
getDocumentDiffs
public List<DocumentUnifiedDiff> getDocumentDiffs()
- Returns:
- the list of documents that have differences.
-
reset
public void reset(DocumentReference reference)
- Parameters:
reference
- the reference of the document to remove from the diff- Since:
- 9.3RC1
-
-