| /******************************************************************************* |
| * Copyright (c) 2011 Obeo. |
| * This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Obeo - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.sirius.synchronizer; |
| |
| import java.util.Collection; |
| |
| /** |
| * Contract providing the information we need to get before a synchronization |
| * call. |
| * |
| * @author Cedric Brun <cedric.brun@obeo.fr> |
| * |
| */ |
| public interface PreRefreshStatus { |
| |
| Iterable<? extends CreatedOutput> getExistingOutputs(); |
| |
| void computeStatus(CreatedOutput container, Collection<? extends Mapping> childMappings); |
| |
| } |