blob: a5889e2844a9211288faa37b53de2f836b0fde54 [file] [log] [blame]
/*
* Copyright (c) 2015 Eike Stepper (Loehne, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Eike Stepper - initial API and implementation
*/
package org.eclipse.oomph.setup.internal.sync;
import org.eclipse.oomph.setup.SetupTask;
import org.eclipse.oomph.setup.internal.sync.DataProvider.Location;
import org.eclipse.oomph.setup.internal.sync.Snapshot.WorkingCopy;
import org.eclipse.oomph.setup.sync.SyncAction;
import java.util.Map;
/**
* @author Eike Stepper
*/
public interface SynchronizerListener
{
public void syncStarted(Synchronization synchronization);
public void workingCopyCreated(Synchronization synchronization, WorkingCopy workingCopy);
public void tasksCollected(Synchronization synchronization, Location location, Map<String, SetupTask> oldTasks, Map<String, SetupTask> newTasks);
public void actionsComputed(Synchronization synchronization, Map<String, SyncAction> actions);
public void actionResolved(Synchronization synchronization, SyncAction action, String id);
public void commitStarted(Synchronization synchronization);
public void commitFinished(Synchronization synchronization, Throwable t);
public void lockReleased(Synchronization synchronization);
}