public interface IClasspathDescriptor
Modifier and Type | Interface and Description |
---|---|
static interface |
IClasspathDescriptor.EntryFilter |
Modifier and Type | Method and Description |
---|---|
IClasspathEntryDescriptor |
addEntry(org.eclipse.jdt.core.IClasspathEntry entry)
Adds fully populated IClasspathEntry instance to the classpath.
|
IClasspathEntryDescriptor |
addLibraryEntry(org.apache.maven.artifact.Artifact artifact,
org.eclipse.core.runtime.IPath srcPath,
org.eclipse.core.runtime.IPath srcRoot,
String javaDocUrl)
Deprecated.
this method exposes Maven core classes, which are not part of m2eclipse-jdt API
|
IClasspathEntryDescriptor |
addLibraryEntry(org.eclipse.core.runtime.IPath entryPath)
Adds and returns new library entry to the classpath
|
IClasspathEntryDescriptor |
addProjectEntry(org.apache.maven.artifact.Artifact artifact,
IMavenProjectFacade projectFacade)
Deprecated.
this method exposes Maven core classes, which are not part of m2eclipse-jdt API
|
IClasspathEntryDescriptor |
addProjectEntry(org.eclipse.core.runtime.IPath entryPath)
Adds and returns new project classpath entry.
|
IClasspathEntryDescriptor |
addSourceEntry(org.eclipse.core.runtime.IPath sourcePath,
org.eclipse.core.runtime.IPath outputLocation,
boolean generated)
Convenience method, equivalent to
addSourceEntry(sourcePath, outputLocation, new IPath[0], new IPath[0], generated) |
IClasspathEntryDescriptor |
addSourceEntry(org.eclipse.core.runtime.IPath sourcePath,
org.eclipse.core.runtime.IPath outputLocation,
org.eclipse.core.runtime.IPath[] inclusion,
org.eclipse.core.runtime.IPath[] exclusion,
boolean generated)
Adds project source folder to the classpath.
|
boolean |
containsPath(org.eclipse.core.runtime.IPath path) |
org.eclipse.jdt.core.IClasspathEntry[] |
getEntries()
Renders classpath as IClasspathEntry[] array
|
List<IClasspathEntryDescriptor> |
getEntryDescriptors()
Returns underlying "live" list of IClasspathEntryDescriptor instances.
|
List<IClasspathEntryDescriptor> |
removeEntry(IClasspathDescriptor.EntryFilter filter)
Removed entries that match EntryFilter (i.e.
|
List<IClasspathEntryDescriptor> |
removeEntry(org.eclipse.core.runtime.IPath path)
Removes entry with specified path from the classpath.
|
boolean containsPath(org.eclipse.core.runtime.IPath path)
IClasspathEntryDescriptor addSourceEntry(org.eclipse.core.runtime.IPath sourcePath, org.eclipse.core.runtime.IPath outputLocation, boolean generated)
addSourceEntry(sourcePath, outputLocation, new IPath[0], new IPath[0], generated)
IClasspathEntryDescriptor addSourceEntry(org.eclipse.core.runtime.IPath sourcePath, org.eclipse.core.runtime.IPath outputLocation, org.eclipse.core.runtime.IPath[] inclusion, org.eclipse.core.runtime.IPath[] exclusion, boolean generated)
IClasspathEntryDescriptor addEntry(org.eclipse.jdt.core.IClasspathEntry entry)
IClasspathEntryDescriptor addProjectEntry(org.eclipse.core.runtime.IPath entryPath)
IClasspathEntryDescriptor addLibraryEntry(org.eclipse.core.runtime.IPath entryPath)
List<IClasspathEntryDescriptor> removeEntry(org.eclipse.core.runtime.IPath path)
List<IClasspathEntryDescriptor> removeEntry(IClasspathDescriptor.EntryFilter filter)
org.eclipse.jdt.core.IClasspathEntry[] getEntries()
List<IClasspathEntryDescriptor> getEntryDescriptors()
IClasspathEntryDescriptor addLibraryEntry(org.apache.maven.artifact.Artifact artifact, org.eclipse.core.runtime.IPath srcPath, org.eclipse.core.runtime.IPath srcRoot, String javaDocUrl)
IClasspathEntryDescriptor addProjectEntry(org.apache.maven.artifact.Artifact artifact, IMavenProjectFacade projectFacade)
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.