Interface IComparisonProcessController

All Known Implementing Classes:
ComparisonManager

public interface IComparisonProcessController
Internal functional interface of the ComparisonManager which allows to control/perform the comparison process.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    compare(long topNodeId, ComparisonSession session, org.eclipse.core.runtime.IProgressMonitor monitor)
    Compares the specified result node of the specified session.
    void
    Notifies the controller about finishing of all comparison processes of the specified batch.
    org.eclipse.core.runtime.IStatus
    performComparisonProcess(ComparisonProcessHandle handle, org.eclipse.core.runtime.IProgressMonitor monitor)
    Performs the process of comparison for the specified handle.
  • Method Details

    • compare

      void compare(long topNodeId, ComparisonSession session, org.eclipse.core.runtime.IProgressMonitor monitor)
      Compares the specified result node of the specified session.
      Parameters:
      topNodeId - the top node id
      session - the comparison session
      monitor - the progress monitor
    • performComparisonProcess

      org.eclipse.core.runtime.IStatus performComparisonProcess(ComparisonProcessHandle handle, org.eclipse.core.runtime.IProgressMonitor monitor)
      Performs the process of comparison for the specified handle.
      Parameters:
      handle - the comparison process handle, cannot be null
      monitor - the progress monitor, cannot be null
      Returns:
      the resulting status of the comparison process, never null
    • comparisonFinished

      void comparisonFinished(CompareMergeProcessBatch batch)
      Notifies the controller about finishing of all comparison processes of the specified batch.
      Parameters:
      batch - the batch whose comparison was finished, cannot be null