Package org.eclipse.tycho.p2.resolver
Class TargetDefinitionFile
- java.lang.Object
-
- org.eclipse.tycho.p2.resolver.TargetDefinitionFile
-
- All Implemented Interfaces:
TargetDefinition
public final class TargetDefinitionFile extends Object implements TargetDefinition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
TargetDefinitionFile.DirectoryTargetLocation
class
TargetDefinitionFile.FeatureTargetPlatformLocation
class
TargetDefinitionFile.IULocation
static class
TargetDefinitionFile.OtherLocation
class
TargetDefinitionFile.ProfileTargetPlatformLocation
static class
TargetDefinitionFile.Repository
static class
TargetDefinitionFile.Unit
-
Nested classes/interfaces inherited from interface org.eclipse.tycho.p2.target.facade.TargetDefinition
TargetDefinition.DirectoryLocation, TargetDefinition.FeaturePlatformLocation, TargetDefinition.IncludeMode, TargetDefinition.InstallableUnitLocation, TargetDefinition.Location, TargetDefinition.PathLocation, TargetDefinition.ProfilePlatformLocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<? extends TargetDefinition.Location>
getLocations()
String
getOrigin()
Returns the origin of the target definition, e.g.int
hashCode()
boolean
hasIncludedBundles()
Returnstrue
if the target definition specifies an explicit list of bundles to include (i.e.static TargetDefinitionFile
read(File file, IncludeSourceMode includeSourceMode)
static void
write(TargetDefinitionFile target, File file)
-
-
-
Method Detail
-
getLocations
public List<? extends TargetDefinition.Location> getLocations()
- Specified by:
getLocations
in interfaceTargetDefinition
-
hasIncludedBundles
public boolean hasIncludedBundles()
Description copied from interface:TargetDefinition
Returnstrue
if the target definition specifies an explicit list of bundles to include (i.e. an <includeBundles> in target definition files).- Specified by:
hasIncludedBundles
in interfaceTargetDefinition
-
getOrigin
public String getOrigin()
Description copied from interface:TargetDefinition
Returns the origin of the target definition, e.g. a file path. Used for debugging only.- Specified by:
getOrigin
in interfaceTargetDefinition
-
read
public static TargetDefinitionFile read(File file, IncludeSourceMode includeSourceMode)
-
write
public static void write(TargetDefinitionFile target, File file) throws IOException
- Throws:
IOException
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceTargetDefinition
- Overrides:
hashCode
in classObject
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceTargetDefinition
- Overrides:
equals
in classObject
-
-