public class UneditCommand extends BasicCommand
clientServices, files, requestsbuilderlocalDirectory| Constructor and Description |
|---|
UneditCommand()
Construct a new editors command.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRequestForFile(File file,
Entry entry)
This method is called for each explicit file and for files within a
directory.
|
void |
commandTerminated(TerminationEvent e)
Called when server responses with "ok" or "error", (when the command
finishes).
|
void |
execute(ClientServices clientServices,
EventManager eventManager)
Execute the command.
|
String |
getCVSArguments()
Returns the arguments of the command in the command-line style.
|
String |
getCVSCommand()
This method returns how the tag command would looklike when typed on the
command line.
|
String |
getOptString()
String returned by this method defines which options are available for
this command.
|
Watch |
getTemporaryWatch()
Returns the temporary watch.
|
void |
resetCVSCommand()
Resets all switches in the command.
|
boolean |
setCVSCommand(char opt,
String optArg)
Takes the arguments and sets the command.
|
void |
setTemporaryWatch(Watch temporaryWatch)
Sets the temporary watch.
|
addArgumentRequest, addArgumentRequests, addDirectoryRequest, addRequest, addRequestForWorkingDirectory, addRequestsForDirectory, addRequestsForFile, appendFileArguments, assumeLocalPathWhenUnspecified, doesCheckFileTime, getFileEndingWith, getFiles, getRecursive, getXthFile, isRecursive, sendEntryAndModifiedRequests, setFiles, setRecursivecreateBuilder, isBuilderSet, messageSent, messageSent, setBuilderclone, fileAdded, fileInfoGenerated, fileRemoved, fileToRemove, fileUpdated, getDisplayName, getGlobalOptions, getLocalDirectory, getLocalPath, getRelativeToLocalPathInUnixStyle, getTrimmedString, hasFailed, moduleExpanded, setDisplayName, setLocalDirectorypublic void execute(ClientServices clientServices, EventManager eventManager) throws CommandException, AuthenticationException
execute in class BasicCommandclient - the client services object that provides any necessary
services to this command, including the ability to actually
process all the requests.CommandException - if an error occurs executing the commandAuthenticationExceptionprotected void addRequestForFile(File file, Entry entry)
BasicCommandaddRequestForFile in class BasicCommandpublic void commandTerminated(TerminationEvent e)
commandTerminated in interface CVSListenercommandTerminated in class BuildableCommandpublic String getCVSCommand()
getCVSCommand in class Commandpublic boolean setCVSCommand(char opt,
String optArg)
setCVSCommand in class Commandpublic String getOptString()
getOptString in class Commandpublic void resetCVSCommand()
resetCVSCommand in class Commandpublic String getCVSArguments()
getCVSArguments in class Commandpublic Watch getTemporaryWatch()
public void setTemporaryWatch(Watch temporaryWatch)
Copyright © 2013. All rights reserved.