org.netbeans.lib.cvsclient.event
Class ModuleExpansionEvent
java.lang.Object
java.util.EventObject
org.netbeans.lib.cvsclient.event.CVSEvent
org.netbeans.lib.cvsclient.event.ModuleExpansionEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ModuleExpansionEvent
- extends CVSEvent
This event is really intended only for the use in the Checkout command.
During a checkout command, the client must ask the server to expand modules
to determine whether there are aliases defined for a particular module.
The client must then use the expansion to determine if a local directory
exists and if so, send appropriate Modified requests etc.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
ModuleExpansionEvent(java.lang.Object source,
java.lang.String module)
Creates new ModuleExpansionEvent. |
Method Summary |
protected void |
fireEvent(CVSListener listener)
Fire the event to the event listener. |
java.lang.String |
getModule()
Get the module name that the original module name has been expanded to. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ModuleExpansionEvent
public ModuleExpansionEvent(java.lang.Object source,
java.lang.String module)
- Creates new ModuleExpansionEvent.
- Parameters:
source
- the source of the eventtheModule
- the module name that the original request has been
"expanded" to.
getModule
public java.lang.String getModule()
- Get the module name that the original module name has been expanded to.
- Returns:
- the expanded name
fireEvent
protected void fireEvent(CVSListener listener)
- Fire the event to the event listener. Subclasses should call the
appropriate method on the listener to dispatch this event.
- Specified by:
fireEvent
in class CVSEvent
- Parameters:
listener
- the event listener