org.eclipse.emf.emfstore.client.handler
Interface ESChecksumErrorHandler

All Known Implementing Classes:
ChecksumErrorHandler

public interface ESChecksumErrorHandler

Interface that determines what to do in case the checksum computation on a ESLocalProject fails.

Author:
emueller

Method Summary
 boolean execute(ESLocalProject localProject, ESPrimaryVersionSpec versionSpec, org.eclipse.core.runtime.IProgressMonitor monitor)
          Executes the error handler.
 

Method Detail

execute

boolean execute(ESLocalProject localProject,
                ESPrimaryVersionSpec versionSpec,
                org.eclipse.core.runtime.IProgressMonitor monitor)
                throws ESException
Executes the error handler.

Parameters:
localProject - the ESLocalProject which contains the project that got in an inconsistent state and therefore caused the failing computation of the checksum
versionSpec - the version specifier containing the correct checksum
monitor - an IProgressMonitor instance that should be used to indicate progress of the error handler
Returns:
whether the error handler successfully handled the error
Throws:
ESException - in case any error occurs during execution of the error handler


Copyright © 2015. All Rights Reserved.