|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.lib.cvsclient.command.Command
org.netbeans.lib.cvsclient.command.BuildableCommand
org.netbeans.lib.cvsclient.command.BasicCommand
org.netbeans.lib.cvsclient.command.annotate.RannotateCommand
public class RannotateCommand
The rannotate command is similar to anootate, but doens't operate on currently checked out sources.
Field Summary |
---|
Fields inherited from class org.netbeans.lib.cvsclient.command.BasicCommand |
---|
clientServices, files, requests |
Fields inherited from class org.netbeans.lib.cvsclient.command.BuildableCommand |
---|
builder |
Fields inherited from class org.netbeans.lib.cvsclient.command.Command |
---|
localDirectory |
Constructor Summary | |
---|---|
RannotateCommand()
|
Method Summary | |
---|---|
void |
clearModules()
clears the list of modules for export. |
void |
commandTerminated(TerminationEvent e)
called when server responses with "ok" or "error", (when the command finishes) |
Builder |
createBuilder(EventManager eventMan)
Create a builder for this command. |
void |
execute(ClientServices client,
EventManager em)
Execute this command. |
java.lang.String |
getAnnotateByDate()
Getter for property annotateByDate. |
java.lang.String |
getAnnotateByRevision()
Getter for property annotateByRevision. |
java.lang.String |
getCVSArguments()
Returns the arguments of the command in the command-line style. |
java.lang.String |
getCVSCommand()
This method returns how the command would looklike when typed on the command line. |
java.lang.String[] |
getModules()
|
java.lang.String |
getOptString()
String returned by this method defines which options are available for this particular command |
boolean |
isUseHeadIfNotFound()
Getter for property useHeadIfNotFound. |
void |
moduleExpanded(ModuleExpansionEvent e)
This is called when the server has responded to an expand-modules request. |
void |
resetCVSCommand()
Resets all switches in the command to the default behaviour. |
void |
setAnnotateByDate(java.lang.String annotateByDate)
Setter for property annotateByDate. |
void |
setAnnotateByRevision(java.lang.String annotateByRevision)
Setter for property annotateByRevision. |
boolean |
setCVSCommand(char opt,
java.lang.String optArg)
Takes the arguments and sets the command. |
void |
setModule(java.lang.String module)
Set the modules to export. |
void |
setModules(java.lang.String[] modules)
Set the modules to export. |
void |
setUseHeadIfNotFound(boolean useHeadIfNotFound)
Setter for property useHeadIfNotFound. |
Methods inherited from class org.netbeans.lib.cvsclient.command.BasicCommand |
---|
addArgumentRequest, addArgumentRequests, addDirectoryRequest, addRequest, addRequestForFile, addRequestForWorkingDirectory, addRequestsForDirectory, addRequestsForFile, appendFileArguments, assumeLocalPathWhenUnspecified, doesCheckFileTime, getFileEndingWith, getFiles, getRecursive, getXthFile, isRecursive, sendEntryAndModifiedRequests, setFiles, setRecursive |
Methods inherited from class org.netbeans.lib.cvsclient.command.BuildableCommand |
---|
isBuilderSet, messageSent, messageSent, setBuilder |
Methods inherited from class org.netbeans.lib.cvsclient.command.Command |
---|
clone, fileAdded, fileInfoGenerated, fileRemoved, fileToRemove, fileUpdated, getDisplayName, getGlobalOptions, getLocalDirectory, getLocalPath, getRelativeToLocalPathInUnixStyle, getTrimmedString, hasFailed, setDisplayName, setLocalDirectory |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RannotateCommand()
Method Detail |
---|
public void setModule(java.lang.String module)
theModules
- the names of the modules to exportpublic void clearModules()
public void setModules(java.lang.String[] modules)
theModules
- the names of the modules to exportpublic java.lang.String[] getModules()
public void execute(ClientServices client, EventManager em) throws CommandException, AuthenticationException
execute
in class BasicCommand
client
- 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 command
AuthenticationException
public void moduleExpanded(ModuleExpansionEvent e)
moduleExpanded
in interface CVSListener
moduleExpanded
in class Command
public java.lang.String getCVSCommand()
Command
getCVSCommand
in class Command
public java.lang.String getCVSArguments()
Command
getCVSArguments
in class Command
public boolean setCVSCommand(char opt, java.lang.String optArg)
Command
setCVSCommand
in class Command
public void resetCVSCommand()
Command
resetCVSCommand
in class Command
public java.lang.String getOptString()
getOptString
in class Command
public Builder createBuilder(EventManager eventMan)
createBuilder
in class BuildableCommand
eventMan
- the event manager used to receive events.public void commandTerminated(TerminationEvent e)
commandTerminated
in interface CVSListener
commandTerminated
in class BuildableCommand
public boolean isUseHeadIfNotFound()
public void setUseHeadIfNotFound(boolean useHeadIfNotFound)
useHeadIfNotFound
- New value of property useHeadIfNotFound.public java.lang.String getAnnotateByDate()
public void setAnnotateByDate(java.lang.String annotateByDate)
annotateByDate
- New value of property annotateByDate.public java.lang.String getAnnotateByRevision()
public void setAnnotateByRevision(java.lang.String annotateByRevision)
annotateByRevision
- New value of property annotateByRevision.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |