| 1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2008, 2010 Code 9 and others. |
| 3 |
* |
| 4 |
* This |
| 5 |
* program and the accompanying materials are made available under the terms of |
| 6 |
* the Eclipse Public License 2.0 which accompanies this distribution, and is |
| 7 |
* available at |
| 8 |
* https://www.eclipse.org/legal/epl-2.0/ |
| 9 |
* |
| 10 |
* SPDX-License-Identifier: EPL-2.0 |
| 11 |
* |
| 12 |
* Contributors: |
| 13 |
* Code 9 - initial API and implementation |
| 14 |
* IBM - ongoing development |
| 15 |
******************************************************************************/ |
| 16 |
package org.eclipse.equinox.p2.publisher.actions; |
| 17 |
|
| 18 |
import java.util.Collection; |
| 19 |
import org.eclipse.equinox.p2.publisher.IPublisherAdvice; |
| 20 |
import org.eclipse.equinox.p2.publisher.IPublisherResult; |
| 21 |
|
| 22 |
public interface IRootIUAdvice extends IPublisherAdvice { |
| 23 |
|
| 24 |
/** |
| 25 |
* Returns the list of children of the root for this publishing operation. |
| 26 |
* Returned elements are either the String id of the IUs, a VersionedName describing |
| 27 |
* the IU or the IUs themselves. |
| 28 |
* @param result |
| 29 |
* @return the collection of children |
| 30 |
*/ |
| 31 |
public Collection<? extends Object> getChildren(IPublisherResult result); |
| 32 |
} |