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 TypeMethodDescriptionvoid
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 idsession
- the comparison sessionmonitor
- 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 benull
monitor
- the progress monitor, cannot benull
- Returns:
- the resulting status of the comparison process, never
null
-
comparisonFinished
Notifies the controller about finishing of all comparison processes of the specified batch.- Parameters:
batch
- the batch whose comparison was finished, cannot benull
-