|
||||||||||
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.importcmd.ImportCommand
public class ImportCommand
The import command imports local directory structures into the repository.
Field Summary |
---|
Fields inherited from class org.netbeans.lib.cvsclient.command.BuildableCommand |
---|
builder |
Fields inherited from class org.netbeans.lib.cvsclient.command.Command |
---|
localDirectory |
Constructor Summary | |
---|---|
ImportCommand()
|
Method Summary | |
---|---|
void |
addIgnoredFile(java.lang.String ignoredFileName)
Add a file name that is to be ignored by the import. |
void |
addWrapper(java.lang.String filenamePattern,
KeywordSubstitutionOptions keywordSubstitutionOptions)
|
void |
addWrapper(StringPattern filenamePattern,
KeywordSubstitutionOptions keywordSubstitutionOptions)
|
Builder |
createBuilder(EventManager eventManager)
Creates the ImportBuilder. |
void |
execute(ClientServices client,
EventManager eventManager)
Executes thiz command using the set options. |
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.util.List |
getIgnoreFiles()
Get a list of files that are ignored by import. |
java.lang.String |
getImportDirectory()
|
KeywordSubstitutionOptions |
getKeywordSubstitutionOptions()
Returns the keyword substitution option. |
java.lang.String |
getLogMessage()
Returns the log message. |
java.lang.String |
getModule()
Returns the module (the in-repository path, where the files should be stored. |
java.lang.String |
getOptString()
Returns a String that defines which options are available for this particular command. |
java.lang.String |
getReleaseTag()
Returns the release tag. |
java.lang.String |
getVendorBranch()
Returns the vendor branch. |
java.lang.String |
getVendorTag()
Returns the vendor tag. |
java.util.Map |
getWrappers()
Returns a map with all wrappers. |
boolean |
isUseFileModifTime()
Tells, whether the file modification time is to be used as the time of the import. |
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 |
setImportDirectory(java.lang.String directory)
Pints to directoty to import. |
void |
setKeywordSubstitutionOptions(KeywordSubstitutionOptions keywordSubstitutionOptions)
Sets the keywords substitution option. |
void |
setLogMessage(java.lang.String logMessage)
Sets the log message. |
void |
setModule(java.lang.String module)
Sets the module (the in-repository path, where the files should be stored). |
void |
setReleaseTag(java.lang.String releaseTag)
Sets the necessary release tag. |
void |
setUseFileModifTime(boolean useFileModifTime)
Sets whether the file modification time is to be used as the time of the import. |
void |
setVendorBranch(java.lang.String vendorBranch)
Sets the vendor branch. |
void |
setVendorTag(java.lang.String vendorTag)
Sets the necessary vendor tag. |
void |
setWrappers(java.util.Map wrapperMap)
Compliant method to addWrapper. |
Methods inherited from class org.netbeans.lib.cvsclient.command.BuildableCommand |
---|
commandTerminated, 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, moduleExpanded, setDisplayName, setLocalDirectory |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportCommand()
Method Detail |
---|
public void addWrapper(java.lang.String filenamePattern, KeywordSubstitutionOptions keywordSubstitutionOptions)
public void addWrapper(StringPattern filenamePattern, KeywordSubstitutionOptions keywordSubstitutionOptions)
public void setWrappers(java.util.Map wrapperMap)
public java.util.Map getWrappers()
public KeywordSubstitutionOptions getKeywordSubstitutionOptions()
public void setKeywordSubstitutionOptions(KeywordSubstitutionOptions keywordSubstitutionOptions)
public java.lang.String getReleaseTag()
public void setReleaseTag(java.lang.String releaseTag)
public java.lang.String getLogMessage()
public void setLogMessage(java.lang.String logMessage)
public java.lang.String getModule()
public void setModule(java.lang.String module)
public void setImportDirectory(java.lang.String directory)
public java.lang.String getImportDirectory()
public java.lang.String getVendorBranch()
public void setVendorBranch(java.lang.String vendorBranch)
public java.lang.String getVendorTag()
public void setVendorTag(java.lang.String vendorTag)
public boolean isUseFileModifTime()
public void setUseFileModifTime(boolean useFileModifTime)
public java.util.List getIgnoreFiles()
public void addIgnoredFile(java.lang.String ignoredFileName)
public void execute(ClientServices client, EventManager eventManager) throws CommandException, AuthenticationException
execute
in class BuildableCommand
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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |