Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.jdeveloper.library
Class ProjectLibraryChangeEvent

java.lang.Object
  extended by oracle.jdeveloper.library.ProjectLibraryChangeEvent

public class ProjectLibraryChangeEvent
extends java.lang.Object

The event object that notifies registered 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.

See Also:
ProjectLibraryChangeListener

Constructor Summary
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.
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectLibraryChangeEvent

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)
Creates a new event object.

Implies that

Parameters:
project -
modifiedJars -
jarsAddedToClasspath -
jarsRemovedFromClasspath -

ProjectLibraryChangeEvent

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)

ProjectLibraryChangeEvent

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)
Method Detail

getProject

public Project getProject()
The project whose classpath has changed.

Returns:
project the project of interest

getAddedJars

public 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().

May contain duplicate entries.

Returns:
a set of the URLs of added jars

getRemovedJars

public 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().

May contain duplicate entries.

Returns:
a set of the URLs of removed jars

getJarsAddedToClasspath

public 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()

Returns:
a set of the URLs of added jars

getJarsRemovedFromClasspath

public 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().

Returns:
a set of the URLs of removed jars

getModifiedJars

public 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().

Returns:
a set of the URLs of modified jars

getLibsAddedToClasspath

public 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().

Returns:
a set of the URLs of added jars

getLibsRemovedFromClasspath

public 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().

Returns:
a set of the URLs of removed jars

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.