Class 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 $
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.xwiki.job.event.status.JobStatus

        org.xwiki.job.event.status.JobStatus.State
    • 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.
    • 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 started
        observationManager - the observation manager
        loggerManager - 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