forked from eclipse-tycho/tycho
/
ResolutionData.java
44 lines (33 loc) · 1.44 KB
/
ResolutionData.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*******************************************************************************
* Copyright (c) 2012, 2022 SAP AG and others.
* 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:
* SAP AG - initial API and implementation
* Christoph Läubrich - #462 - Delay Pom considered items to the final Target Platform calculation
*******************************************************************************/
package org.eclipse.tycho.p2.util.resolution;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import org.eclipse.equinox.p2.metadata.IInstallableUnit;
import org.eclipse.equinox.p2.metadata.IRequirement;
public interface ResolutionData {
Collection<IInstallableUnit> getAvailableIUs();
Collection<IInstallableUnit> getRootIUs();
List<IRequirement> getAdditionalRequirements();
ExecutionEnvironmentResolutionHints getEEResolutionHints();
Map<String, String> getAdditionalFilterProperties();
/**
* @return <code>true</code> if the resolve operation should fail if there are missing
* requirements
*/
boolean failOnMissingRequirements();
void addMissingRequirement(IRequirement requirement);
Collection<IRequirement> getMissingRequirements();
}