public class DependencySeed extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
DependencySeed.Filter |
Constructor and Description |
---|
DependencySeed(String type,
String id,
Object installableUnit) |
DependencySeed(String type,
String id,
Object installableUnit,
DependencySeed.Filter isAddOnFor) |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
Object |
getInstallableUnit() |
String |
getType() |
boolean |
isAddOnFor(String otherType,
String otherId)
Returns
true if this dependency is an add-on for the given other dependency
seed. |
String |
toString() |
public DependencySeed(String type, String id, Object installableUnit)
type
- The type of the seed unit. See ArtifactType
for known types. May be
null
.id
- Identifier of the seed unit.version
- Exact version (i.e. qualified) version of the unit.installableUnit
- The seed unit as IInstallableUnit, which contains the dependency information. May
be null
.public DependencySeed(String type, String id, Object installableUnit, DependencySeed.Filter isAddOnFor)
type
- The type of the seed unit. See ArtifactType
for known types. May be
null
.id
- Identifier of the seed unit.version
- Exact version (i.e. qualified) version of the unit.installableUnit
- The seed unit as IInstallableUnit, which contains the dependency information. May
be null
.isAddOnFor
- Filter used to answer calls to isAddOnFor(String, String)
public String getType()
ArtifactType
for known types. May be
null
.public String getId()
public Object getInstallableUnit()
null
.public boolean isAddOnFor(String otherType, String otherId)
true
if this dependency is an add-on for the given other dependency
seed. This is used to identify features which shall be installed at root level together with
products.Copyright © 2008–2020 Eclipse Foundation. All rights reserved.