public class ProjectLibraryChangeEvent
extends java.lang.Object
ProjectLibraryChangeListener
that
a project's classpath change has happened.
These events are fired per project and
listeners can use
ProjectLibraryChangeListener.needClasspathNotification(oracle.ide.model.Project)
to respond if they are interested in getting the event.ProjectLibraryChangeListener
Constructor and Description |
---|
ProjectLibraryChangeEvent(Project project,
java.util.Set<java.net.URL> modifiedJars,
java.util.List<java.net.URL> addedJars,
java.util.List<java.net.URL> removedJars,
java.util.Set<java.net.URL> jarsAddedToClasspath,
java.util.Set<java.net.URL> jarsRemovedFromClasspath) |
ProjectLibraryChangeEvent(Project project,
java.util.Set<java.net.URL> modifiedJars,
java.util.List<java.net.URL> addedJars,
java.util.List<java.net.URL> removedJars,
java.util.Set<java.net.URL> jarsAddedToClasspath,
java.util.Set<java.net.URL> jarsRemovedFromClasspath,
java.util.Map<java.lang.String,java.lang.Integer> addedLibs,
java.util.Map<java.lang.String,java.lang.Integer> deletedLibs) |
ProjectLibraryChangeEvent(Project project,
java.util.Set<java.net.URL> modifiedJars,
java.util.Set<java.net.URL> jarsAddedToClasspath,
java.util.Set<java.net.URL> jarsRemovedFromClasspath)
Creates a new event object.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.net.URL> |
getAddedJars()
Gets the list of jar URLs that were added to the classpath of the
project returned from
getProject() . |
java.util.Set<java.net.URL> |
getJarsAddedToClasspath()
Gets the list of jar URLs that were added to the classpath of the
project returned from
getProject() |
java.util.Set<java.net.URL> |
getJarsRemovedFromClasspath()
Gets the list of jar URLs that were removed from the classpath of the
project returned from
getProject() . |
java.util.Map<java.lang.String,java.lang.Integer> |
getLibsAddedToClasspath()
Gets the list of jar URLs that were added to the classpath of the
project returned from
getProject() . |
java.util.Map<java.lang.String,java.lang.Integer> |
getLibsRemovedFromClasspath()
Gets the list of jar URLs that were removed from the classpath of the
project returned from
getProject() . |
java.util.Set<java.net.URL> |
getModifiedJars()
Gets the list of jar URLs that were modified and are still on
the classpath of the project returned from
getProject() . |
Project |
getProject()
The project whose classpath has changed.
|
java.util.List<java.net.URL> |
getRemovedJars()
Gets the list of jar URLs that were removed from the classpath of the
project returned from
getProject() . |
java.lang.String |
toString() |
public ProjectLibraryChangeEvent(Project project, java.util.Set<java.net.URL> modifiedJars, java.util.Set<java.net.URL> jarsAddedToClasspath, java.util.Set<java.net.URL> jarsRemovedFromClasspath)
Implies that
project
- modifiedJars
- jarsAddedToClasspath
- jarsRemovedFromClasspath
- public ProjectLibraryChangeEvent(Project project, java.util.Set<java.net.URL> modifiedJars, java.util.List<java.net.URL> addedJars, java.util.List<java.net.URL> removedJars, java.util.Set<java.net.URL> jarsAddedToClasspath, java.util.Set<java.net.URL> jarsRemovedFromClasspath)
public ProjectLibraryChangeEvent(Project project, java.util.Set<java.net.URL> modifiedJars, java.util.List<java.net.URL> addedJars, java.util.List<java.net.URL> removedJars, java.util.Set<java.net.URL> jarsAddedToClasspath, java.util.Set<java.net.URL> jarsRemovedFromClasspath, java.util.Map<java.lang.String,java.lang.Integer> addedLibs, java.util.Map<java.lang.String,java.lang.Integer> deletedLibs)
public Project getProject()
public java.util.List<java.net.URL> getAddedJars()
getProject()
.May contain duplicate entries.
public java.util.List<java.net.URL> getRemovedJars()
getProject()
.May contain duplicate entries.
public java.util.Set<java.net.URL> getJarsAddedToClasspath()
getProject()
public java.util.Set<java.net.URL> getJarsRemovedFromClasspath()
getProject()
.public java.util.Set<java.net.URL> getModifiedJars()
getProject()
.public java.util.Map<java.lang.String,java.lang.Integer> getLibsAddedToClasspath()
getProject()
.public java.util.Map<java.lang.String,java.lang.Integer> getLibsRemovedFromClasspath()
getProject()
.public java.lang.String toString()
toString
in class java.lang.Object