|
||||||||||
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.RepositoryCommand
org.netbeans.lib.cvsclient.command.export.ExportCommand
public class ExportCommand
The export command exports the projects (modules in the repository) to the local directory structure.
Field Summary |
---|
Fields inherited from class org.netbeans.lib.cvsclient.command.RepositoryCommand |
---|
clientServices, expandedModules, modules, 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 | |
---|---|
ExportCommand()
|
Method Summary | |
---|---|
Builder |
createBuilder(EventManager eventManager)
Creates the ExportBuilder. |
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 |
getExportByDate()
Getter for property exportByDate. |
java.lang.String |
getExportByRevision()
Getter for property exportByRevision. |
java.lang.String |
getExportDirectory()
Getter for property exportDirectory. |
KeywordSubstitutionOptions |
getKeywordSubstitutionOptions()
Returns the keyword substitution option. |
java.lang.String |
getOptString()
Returns a String that defines which options are available for this particular command. |
boolean |
isNotRunModuleProgram()
Getter for property notRunModuleProgram. |
boolean |
isNotShortenPaths()
Getter for property notShortenPaths. |
boolean |
isPruneDirectories()
Get whether to prune directories. |
boolean |
isUseHeadIfNotFound()
Getter for property useHeadIfNotFound. |
void |
messageSent(MessageEvent e)
Called when the server wants to send a message to be displayed to the user. |
protected void |
postExpansionExecute(ClientServices client,
EventManager em)
Execute this command |
void |
resetCVSCommand()
Resets all switches in the command to the default behaviour. |
boolean |
setCVSCommand(char opt,
java.lang.String optArg)
Takes the arguments and sets the command. |
void |
setExportByDate(java.lang.String exportByDate)
Setter for property exportByDate. |
void |
setExportByRevision(java.lang.String exportByRevision)
Setter for property exportByRevision. |
void |
setExportDirectory(java.lang.String exportDirectory)
Setter for property exportDirectory. |
void |
setKeywordSubstitutionOptions(KeywordSubstitutionOptions keywordSubstitutionOptions)
Sets the keywords substitution option. |
void |
setNotRunModuleProgram(boolean notRunModuleProgram)
Setter for property notRunModuleProgram. |
void |
setNotShortenPaths(boolean notShortenPaths)
Setter for property notShortenPaths. |
void |
setPruneDirectories(boolean pruneDirectories)
Set whether to prune directories. |
void |
setUseHeadIfNotFound(boolean useHeadIfNotFound)
Setter for property useHeadIfNotFound. |
Methods inherited from class org.netbeans.lib.cvsclient.command.RepositoryCommand |
---|
addArgumentRequest, addArgumentRequests, addModule, addRequest, addRequestForWorkingDirectory, appendModuleArguments, clearModules, execute, getModules, isRecursive, moduleExpanded, setModules, setRecursive |
Methods inherited from class org.netbeans.lib.cvsclient.command.BuildableCommand |
---|
commandTerminated, isBuilderSet, 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 ExportCommand()
Method Detail |
---|
public KeywordSubstitutionOptions getKeywordSubstitutionOptions()
public void setKeywordSubstitutionOptions(KeywordSubstitutionOptions keywordSubstitutionOptions)
public void setPruneDirectories(boolean pruneDirectories)
public boolean isPruneDirectories()
protected void postExpansionExecute(ClientServices client, EventManager em) throws CommandException, AuthenticationException
postExpansionExecute
in class RepositoryCommand
client
- the client services object that provides any necessary
services to this command, including the ability to actually process
all the requests
CommandException
AuthenticationException
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()
Command
getOptString
in class Command
public Builder createBuilder(EventManager eventManager)
createBuilder
in class BuildableCommand
public void messageSent(MessageEvent e)
messageSent
in interface CVSListener
messageSent
in class BuildableCommand
e
- the eventpublic java.lang.String getExportByDate()
public void setExportByDate(java.lang.String exportByDate)
exportByDate
- New value of property exportByDate.public java.lang.String getExportByRevision()
public void setExportByRevision(java.lang.String exportByRevision)
exportByRevision
- New value of property exportByRevision.public java.lang.String getExportDirectory()
public void setExportDirectory(java.lang.String exportDirectory)
exportDirectory
- New value of property exportDirectory.public boolean isUseHeadIfNotFound()
public void setUseHeadIfNotFound(boolean useHeadIfNotFound)
useHeadIfNotFound
- New value of property useHeadIfNotFound.public boolean isNotShortenPaths()
public void setNotShortenPaths(boolean notShortenPaths)
notShortenPaths
- New value of property notShortenPaths.public boolean isNotRunModuleProgram()
public void setNotRunModuleProgram(boolean notRunModuleProgram)
notRunModuleProgram
- New value of property notRunModuleProgram.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |