public final class ClassPathModifier extends ProjectClassPathModifierImplementation
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClassPathModifier.Callback
Callback to customize classpath modifier behaviour.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD |
static int |
ADD_NO_HEURISTICS |
static int |
REMOVE |
| Constructor and Description |
|---|
ClassPathModifier(Project project,
UpdateHelper helper,
PropertyEvaluator eval,
ReferenceHelper refHelper,
ClassPathSupport.Callback cpSupportCallback,
ClassPathModifier.Callback cpModifierCallback,
ClassPathUiSupport.Callback cpUiSupportCallback)
Creates a new instance of J2SEProjectClassPathModifier
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAntArtifacts(AntArtifact[] artifacts,
URI[] artifactElements,
SourceGroup sourceGroup,
String type) |
boolean |
addLibraries(Library[] libraries,
SourceGroup sourceGroup,
String type) |
boolean |
addRoots(URI[] classPathRoots,
SourceGroup sourceGroup,
String type) |
boolean |
addRoots(URI[] classPathRoots,
SourceGroup sourceGroup,
String type,
int operation) |
boolean |
addRoots(URL[] classPathRoots,
SourceGroup sourceGroup,
String type) |
boolean |
addRoots(URL[] classPathRoots,
String classPathProperty) |
ClassPathSupport |
getClassPathSupport() |
String[] |
getExtensibleClassPathTypes(SourceGroup sg) |
SourceGroup[] |
getExtensibleSourceGroups() |
boolean |
removeAntArtifacts(AntArtifact[] artifacts,
URI[] artifactElements,
SourceGroup sourceGroup,
String type) |
boolean |
removeLibraries(Library[] libraries,
SourceGroup sourceGroup,
String type) |
boolean |
removeRoots(URI[] classPathRoots,
SourceGroup sourceGroup,
String type) |
boolean |
removeRoots(URL[] classPathRoots,
SourceGroup sourceGroup,
String type) |
addProjects, convertURLsToURIs, performSharabilityHeuristicspublic static final int ADD
public static final int ADD_NO_HEURISTICS
public static final int REMOVE
public ClassPathModifier(Project project, UpdateHelper helper, PropertyEvaluator eval, ReferenceHelper refHelper, ClassPathSupport.Callback cpSupportCallback, ClassPathModifier.Callback cpModifierCallback, ClassPathUiSupport.Callback cpUiSupportCallback)
public SourceGroup[] getExtensibleSourceGroups()
getExtensibleSourceGroups in class ProjectClassPathModifierImplementationpublic String[] getExtensibleClassPathTypes(SourceGroup sg)
getExtensibleClassPathTypes in class ProjectClassPathModifierImplementationpublic boolean removeRoots(URL[] classPathRoots, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException
removeRoots in class ProjectClassPathModifierImplementationIOExceptionUnsupportedOperationExceptionpublic boolean removeRoots(URI[] classPathRoots, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException
removeRoots in class ProjectClassPathModifierImplementationIOExceptionUnsupportedOperationExceptionpublic boolean addRoots(URL[] classPathRoots, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException
addRoots in class ProjectClassPathModifierImplementationIOExceptionUnsupportedOperationExceptionpublic boolean addRoots(URL[] classPathRoots, String classPathProperty) throws IOException, UnsupportedOperationException
public boolean addRoots(URI[] classPathRoots, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException
addRoots in class ProjectClassPathModifierImplementationIOExceptionUnsupportedOperationExceptionpublic boolean addRoots(URI[] classPathRoots, SourceGroup sourceGroup, String type, int operation) throws IOException, UnsupportedOperationException
public boolean removeAntArtifacts(AntArtifact[] artifacts, URI[] artifactElements, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException
removeAntArtifacts in class ProjectClassPathModifierImplementationIOExceptionUnsupportedOperationExceptionpublic boolean addAntArtifacts(AntArtifact[] artifacts, URI[] artifactElements, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException
addAntArtifacts in class ProjectClassPathModifierImplementationIOExceptionUnsupportedOperationExceptionpublic boolean removeLibraries(Library[] libraries, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException
removeLibraries in class ProjectClassPathModifierImplementationIOExceptionUnsupportedOperationExceptionpublic boolean addLibraries(Library[] libraries, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException
addLibraries in class ProjectClassPathModifierImplementationIOExceptionUnsupportedOperationExceptionpublic ClassPathSupport getClassPathSupport()
Built on May 24 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.