public class ExportCommand extends RepositoryCommand
clientServices, expandedModules, modules, requestsbuilderlocalDirectory| Constructor and Description |
|---|
ExportCommand() |
| Modifier and Type | Method and Description |
|---|---|
Builder |
createBuilder(EventManager eventManager)
Creates the ExportBuilder.
|
String |
getCVSArguments()
Returns the arguments of the command in the command-line style.
|
String |
getCVSCommand()
This method returns how the command would looklike when typed on the
command line.
|
String |
getExportByDate()
Getter for property exportByDate.
|
String |
getExportByRevision()
Getter for property exportByRevision.
|
String |
getExportDirectory()
Getter for property exportDirectory.
|
KeywordSubstitutionOptions |
getKeywordSubstitutionOptions()
Returns the keyword substitution option.
|
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,
String optArg)
Takes the arguments and sets the command.
|
void |
setExportByDate(String exportByDate)
Setter for property exportByDate.
|
void |
setExportByRevision(String exportByRevision)
Setter for property exportByRevision.
|
void |
setExportDirectory(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.
|
addArgumentRequest, addArgumentRequests, addModule, addRequest, addRequestForWorkingDirectory, appendModuleArguments, clearModules, execute, getModules, isRecursive, moduleExpanded, setModules, setRecursivecommandTerminated, isBuilderSet, messageSent, setBuilderclone, fileAdded, fileInfoGenerated, fileRemoved, fileToRemove, fileUpdated, getDisplayName, getGlobalOptions, getLocalDirectory, getLocalPath, getRelativeToLocalPathInUnixStyle, getTrimmedString, hasFailed, setDisplayName, setLocalDirectorypublic 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 RepositoryCommandclient - the client services object that provides any necessary
services to this command, including the ability to actually
process all the requestsCommandExceptionAuthenticationExceptionpublic String getCVSCommand()
CommandgetCVSCommand in class Commandpublic String getCVSArguments()
CommandgetCVSArguments in class Commandpublic boolean setCVSCommand(char opt,
String optArg)
CommandsetCVSCommand in class Commandpublic void resetCVSCommand()
CommandresetCVSCommand in class Commandpublic 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 String getExportByDate()
public void setExportByDate(String exportByDate)
exportByDate - New value of property exportByDate.public String getExportByRevision()
public void setExportByRevision(String exportByRevision)
exportByRevision - New value of property exportByRevision.public String getExportDirectory()
public void setExportDirectory(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.Copyright © 2013. All rights reserved.