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:
- 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.
- Author:
- Robert Greig
- See Also:
- Serialized Form
Method Summary |
protected void |
fireEvent(CVSListener listener)
Fire the event to the event listener. |
String |
getModule()
Get the module name that the original module name has been expanded to. |
ModuleExpansionEvent
public ModuleExpansionEvent(Object source,
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 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
Copyright © 2011. All Rights Reserved.