public class DefaultClasspathEntry extends Object implements ClasspathEntry
Modifier and Type | Class and Description |
---|---|
static class |
DefaultClasspathEntry.DefaultAccessRule |
ClasspathEntry.AccessRule
Constructor and Description |
---|
DefaultClasspathEntry(ReactorProject project,
ArtifactKey key,
List<File> locations,
List<ClasspathEntry.AccessRule> rules) |
Modifier and Type | Method and Description |
---|---|
List<ClasspathEntry.AccessRule> |
getAccessRules()
Exported packages patterns.
|
ArtifactKey |
getArtifactKey()
ArtifactKey that corresponds to this classpath entry.
|
List<File> |
getLocations()
Jar files and/or class folders that correspond to this classpath entry.
|
ReactorProject |
getMavenProject()
MavenProject that corresponds to this classpath entry or null, if no such project.
|
public DefaultClasspathEntry(ReactorProject project, ArtifactKey key, List<File> locations, List<ClasspathEntry.AccessRule> rules)
public List<File> getLocations()
ClasspathEntry
getLocations
in interface ClasspathEntry
public List<ClasspathEntry.AccessRule> getAccessRules()
ClasspathEntry
null
means
"no access restrictions", i.e. all packages are exported.getAccessRules
in interface ClasspathEntry
public ArtifactKey getArtifactKey()
ClasspathEntry
getArtifactKey
in interface ClasspathEntry
public ReactorProject getMavenProject()
ClasspathEntry
getMavenProject
in interface ClasspathEntry
Copyright © 2008–2021 Eclipse Foundation. All rights reserved.