org.apache.maven.scm.provider.clearcase.command.checkout
public class ClearCaseCheckOutCommand extends AbstractCheckOutCommand implements ClearCaseCommand
Constructor and Description |
---|
ClearCaseCheckOutCommand() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
createConfigSpec(java.lang.String loadDirectory,
ScmVersion version)
Creates a config spec that loads the given loadDirectory and uses the
given version tag
|
protected java.lang.String |
createConfigSpec(java.lang.String loadDirectory,
java.lang.String elementName,
ScmVersion version) |
protected org.codehaus.plexus.util.cli.Commandline |
createCreateViewCommandLine(java.io.File workingDirectory,
java.lang.String viewName,
java.lang.String streamIdentifier) |
protected org.codehaus.plexus.util.cli.Commandline |
createUpdateConfigSpecCommandLine(java.io.File workingDirectory,
java.io.File configSpecLocation,
java.lang.String viewName) |
protected CheckOutScmResult |
executeCheckOutCommand(ScmProviderRepository repository,
ScmFileSet fileSet,
ScmVersion version,
boolean recursive)
Execute Check out command line.
|
protected java.lang.String |
getStreamIdentifier(java.lang.String streamName,
java.lang.String vobName)
Format the stream identifier for ClearCaseUCM
|
protected java.lang.String |
getViewStore() |
protected boolean |
isClearCaseLT() |
protected boolean |
isClearCaseUCM() |
void |
setSettings(Settings settings) |
protected boolean |
useVWS() |
protected java.io.File |
writeTemporaryConfigSpecFile(java.lang.String configSpecContents,
java.lang.String viewName)
Creates a temporary config spec file with the given contents that will be
deleted on VM exit.
|
executeCheckOutCommand, executeCommand
execute, getLogger, setLogger
protected CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version, boolean recursive) throws ScmException
executeCheckOutCommand
in class AbstractCheckOutCommand
repository
- not nullfileSet
- not nullversion
- not nullrecursive
- true
if recursive check out is wanted, false
otherwise.ScmException
- if anyprotected java.io.File writeTemporaryConfigSpecFile(java.lang.String configSpecContents, java.lang.String viewName) throws java.io.IOException
configSpecContents
- The contents for the fileviewName
- The name of the view; used to determine an appropriate file
namejava.io.IOException
protected java.lang.String createConfigSpec(java.lang.String loadDirectory, ScmVersion version)
loadDirectory
- the VOB directory to be loadedversion
- ClearCase label type; notice that branch types are not
supportedprotected java.lang.String createConfigSpec(java.lang.String loadDirectory, java.lang.String elementName, ScmVersion version)
protected org.codehaus.plexus.util.cli.Commandline createCreateViewCommandLine(java.io.File workingDirectory, java.lang.String viewName, java.lang.String streamIdentifier) throws java.io.IOException
java.io.IOException
protected java.lang.String getStreamIdentifier(java.lang.String streamName, java.lang.String vobName)
streamName
- vobName
- protected org.codehaus.plexus.util.cli.Commandline createUpdateConfigSpecCommandLine(java.io.File workingDirectory, java.io.File configSpecLocation, java.lang.String viewName)
protected java.lang.String getViewStore()
protected boolean isClearCaseLT()
protected boolean isClearCaseUCM()
protected boolean useVWS()
public void setSettings(Settings settings)
Copyright © 2003-2014. All Rights Reserved.