static class TargetDefinitionResolverTest.TargetDefinitionStub extends java.lang.Object implements TargetDefinition
TargetDefinition.IncludeMode, TargetDefinition.InstallableUnitLocation, TargetDefinition.Location, TargetDefinition.Repository, TargetDefinition.Unit| Modifier and Type | Field and Description |
|---|---|
private boolean |
hasBundleSelectionList |
private java.util.List<TargetDefinition.Location> |
locations |
| Constructor and Description |
|---|
TargetDefinitionStub(java.util.List<TargetDefinition.Location> locations) |
TargetDefinitionStub(java.util.List<TargetDefinition.Location> locations,
boolean hasBundleSelectionList) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TargetDefinition.Location> |
getLocations() |
java.lang.String |
getOrigin()
Returns the origin of the target definition, e.g.
|
boolean |
hasIncludedBundles()
Returns
true if the target definition specifies an explicit list of bundles to
include (i.e. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCodeprivate java.util.List<TargetDefinition.Location> locations
private final boolean hasBundleSelectionList
public TargetDefinitionStub(java.util.List<TargetDefinition.Location> locations)
public TargetDefinitionStub(java.util.List<TargetDefinition.Location> locations, boolean hasBundleSelectionList)
public java.util.List<TargetDefinition.Location> getLocations()
getLocations in interface TargetDefinitionpublic boolean hasIncludedBundles()
TargetDefinitiontrue if the target definition specifies an explicit list of bundles to
include (i.e. an <includeBundles> in target definition files).hasIncludedBundles in interface TargetDefinitionpublic java.lang.String getOrigin()
TargetDefinitiongetOrigin in interface TargetDefinition