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 classTargetDefinitionFile.DirectoryTargetLocationclassTargetDefinitionFile.FeatureTargetPlatformLocationclassTargetDefinitionFile.IULocationstatic classTargetDefinitionFile.OtherLocationclassTargetDefinitionFile.ProfileTargetPlatformLocationstatic classTargetDefinitionFile.Repositorystatic classTargetDefinitionFile.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 booleanequals(Object obj)List<? extends TargetDefinition.Location>getLocations()StringgetOrigin()Returns the origin of the target definition, e.g.inthashCode()booleanhasIncludedBundles()Returnstrueif the target definition specifies an explicit list of bundles to include (i.e.static TargetDefinitionFileread(File file, IncludeSourceMode includeSourceMode)static voidwrite(TargetDefinitionFile target, File file)
-
-
-
Method Detail
-
getLocations
public List<? extends TargetDefinition.Location> getLocations()
- Specified by:
getLocationsin interfaceTargetDefinition
-
hasIncludedBundles
public boolean hasIncludedBundles()
Description copied from interface:TargetDefinitionReturnstrueif the target definition specifies an explicit list of bundles to include (i.e. an <includeBundles> in target definition files).- Specified by:
hasIncludedBundlesin interfaceTargetDefinition
-
getOrigin
public String getOrigin()
Description copied from interface:TargetDefinitionReturns the origin of the target definition, e.g. a file path. Used for debugging only.- Specified by:
getOriginin 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:
hashCodein interfaceTargetDefinition- Overrides:
hashCodein classObject
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceTargetDefinition- Overrides:
equalsin classObject
-
-