public abstract class RepositoryCommand extends BuildableCommand
Constructor and Description |
---|
RepositoryCommand() |
Modifier and Type | Method and Description |
---|---|
void |
addModule(java.lang.String module)
Add a module to process.
|
void |
clearModules()
Clear the list of modules.
|
void |
execute(ClientServices client,
EventManager em)
Execute this command.
|
java.lang.String[] |
getModules()
Get the array of modules that are set to be processed.
|
boolean |
isRecursive()
Gets the value of the recursive option.
|
void |
moduleExpanded(ModuleExpansionEvent e)
This is called when the server has responded to an expand-modules
request.
|
void |
setModules(java.lang.String[] modules)
Set the modules to process.
|
void |
setRecursive(boolean recursive)
Sets the value of the recursive option.
|
commandTerminated, createBuilder, messageSent, messageSent, setBuilder
clone, fileAdded, fileInfoGenerated, fileRemoved, fileToRemove, fileUpdated, getCVSArguments, getCVSCommand, getDisplayName, getGlobalOptions, getLocalDirectory, getLocalPath, getOptString, getRelativeToLocalPathInUnixStyle, hasFailed, resetCVSCommand, setCVSCommand, setDisplayName
public boolean isRecursive()
public void setRecursive(boolean recursive)
r
- true if the command should recurse, false otherwisepublic void addModule(java.lang.String module)
module
- the name of the module to processpublic void setModules(java.lang.String[] modules)
modules
- the names of the modules to processpublic java.lang.String[] getModules()
public void clearModules()
public final void moduleExpanded(ModuleExpansionEvent e)
moduleExpanded
in interface CVSListener
moduleExpanded
in class Command
public final void execute(ClientServices client, EventManager em) throws CommandException, AuthenticationException
postExpansionExecute(org.netbeans.lib.cvsclient.ClientServices, org.netbeans.lib.cvsclient.event.EventManager)
method.execute
in class BuildableCommand
client
- the client services object that provides any necessary
services to this command, including the ability to actually process
all the requestsCommandException
- if an error occurs executing the commandAuthenticationException