public class ExportCommand extends RepositoryCommand
clientServices, expandedModules, modules, requests
builder
localDirectory
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, setRecursive
commandTerminated, isBuilderSet, messageSent, setBuilder
clone, fileAdded, fileInfoGenerated, fileRemoved, fileToRemove, fileUpdated, getDisplayName, getGlobalOptions, getLocalDirectory, getLocalPath, getRelativeToLocalPathInUnixStyle, getTrimmedString, hasFailed, setDisplayName, setLocalDirectory
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 requestsCommandException
AuthenticationException
public String getCVSCommand()
Command
getCVSCommand
in class Command
public String getCVSArguments()
Command
getCVSArguments
in class Command
public boolean setCVSCommand(char opt, String optArg)
Command
setCVSCommand
in class Command
public void resetCVSCommand()
Command
resetCVSCommand
in class Command
public 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 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 © 2016. All rights reserved.