public class ExportCommand extends RepositoryCommand
| Constructor and Description |
|---|
ExportCommand() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
addModule, clearModules, execute, getModules, isRecursive, moduleExpanded, setModules, setRecursivecommandTerminated, messageSent, setBuilderclone, fileAdded, fileInfoGenerated, fileRemoved, fileToRemove, fileUpdated, getDisplayName, getGlobalOptions, getLocalDirectory, getLocalPath, getRelativeToLocalPathInUnixStyle, hasFailed, setDisplayNamepublic KeywordSubstitutionOptions getKeywordSubstitutionOptions()
public void setKeywordSubstitutionOptions(KeywordSubstitutionOptions keywordSubstitutionOptions)
public void setPruneDirectories(boolean pruneDirectories)
public boolean isPruneDirectories()
public java.lang.String getCVSCommand()
CommandgetCVSCommand in class Commandpublic java.lang.String getCVSArguments()
CommandgetCVSArguments in class Commandpublic boolean setCVSCommand(char opt,
java.lang.String optArg)
CommandsetCVSCommand in class Commandpublic void resetCVSCommand()
CommandresetCVSCommand in class Commandpublic java.lang.String getOptString()
CommandgetOptString in class Commandpublic Builder createBuilder(EventManager eventManager)
createBuilder in class BuildableCommandpublic void messageSent(MessageEvent e)
messageSent in interface CVSListenermessageSent in class BuildableCommande - 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.