Package org.eclipse.tycho.core.osgitools
Class DefaultClasspathEntry
- java.lang.Object
-
- org.eclipse.tycho.core.osgitools.DefaultClasspathEntry
-
- All Implemented Interfaces:
ClasspathEntry
public class DefaultClasspathEntry extends Object implements ClasspathEntry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultClasspathEntry.DefaultAccessRule-
Nested classes/interfaces inherited from interface org.eclipse.tycho.classpath.ClasspathEntry
ClasspathEntry.AccessRule
-
-
Constructor Summary
Constructors Constructor Description DefaultClasspathEntry(ReactorProject project, ArtifactKey key, List<File> locations, List<ClasspathEntry.AccessRule> rules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ClasspathEntry.AccessRule>getAccessRules()Exported packages patterns.ArtifactKeygetArtifactKey()ArtifactKey that corresponds to this classpath entry.List<File>getLocations()Jar files and/or class folders that correspond to this classpath entry.ReactorProjectgetMavenProject()MavenProject that corresponds to this classpath entry or null, if no such project.
-
-
-
Constructor Detail
-
DefaultClasspathEntry
public DefaultClasspathEntry(ReactorProject project, ArtifactKey key, List<File> locations, List<ClasspathEntry.AccessRule> rules)
-
-
Method Detail
-
getLocations
public List<File> getLocations()
Description copied from interface:ClasspathEntryJar files and/or class folders that correspond to this classpath entry. Projects and bundles with nested jars can have multiple locations.- Specified by:
getLocationsin interfaceClasspathEntry
-
getAccessRules
public List<ClasspathEntry.AccessRule> getAccessRules()
Description copied from interface:ClasspathEntryExported packages patterns. Empty list means "no exported packages".nullmeans "no access restrictions", i.e. all packages are exported.- Specified by:
getAccessRulesin interfaceClasspathEntry
-
getArtifactKey
public ArtifactKey getArtifactKey()
Description copied from interface:ClasspathEntryArtifactKey that corresponds to this classpath entry. Not null.- Specified by:
getArtifactKeyin interfaceClasspathEntry
-
getMavenProject
public ReactorProject getMavenProject()
Description copied from interface:ClasspathEntryMavenProject that corresponds to this classpath entry or null, if no such project.- Specified by:
getMavenProjectin interfaceClasspathEntry
-
-