public class ClearCaseCheckOutCommand extends AbstractCheckOutCommand implements ClearCaseCommand
Constructor and Description |
---|
ClearCaseCheckOutCommand() |
Modifier and Type | Method and Description |
---|---|
protected String |
createConfigSpec(String loadDirectory,
ScmVersion version)
Creates a config spec that loads the given loadDirectory and uses the
given version tag
|
protected String |
createConfigSpec(String loadDirectory,
String elementName,
ScmVersion version) |
protected Commandline |
createCreateViewCommandLine(File workingDirectory,
String viewName,
String streamIdentifier) |
protected Commandline |
createUpdateConfigSpecCommandLine(File workingDirectory,
File configSpecLocation,
String viewName) |
protected CheckOutScmResult |
executeCheckOutCommand(ScmProviderRepository repository,
ScmFileSet fileSet,
ScmVersion version,
boolean recursive)
Execute Check out command line.
|
protected String |
getStreamIdentifier(String streamName,
String vobName)
Format the stream identifier for ClearCaseUCM
|
protected String |
getViewStore() |
protected boolean |
isClearCaseLT() |
protected boolean |
isClearCaseUCM() |
void |
setSettings(Settings settings) |
protected boolean |
useVWS() |
protected File |
writeTemporaryConfigSpecFile(String configSpecContents,
String viewName)
Creates a temporary config spec file with the given contents that will be
deleted on VM exit.
|
executeCheckOutCommand, executeCommand
execute, getLogger, setLogger
public ClearCaseCheckOutCommand()
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 File writeTemporaryConfigSpecFile(String configSpecContents, String viewName) throws IOException
configSpecContents
- The contents for the fileviewName
- The name of the view; used to determine an appropriate file
nameIOException
protected String createConfigSpec(String loadDirectory, ScmVersion version)
loadDirectory
- the VOB directory to be loadedversion
- ClearCase label type; notice that branch types are not
supportedprotected String createConfigSpec(String loadDirectory, String elementName, ScmVersion version)
protected Commandline createCreateViewCommandLine(File workingDirectory, String viewName, String streamIdentifier) throws IOException
IOException
protected String getStreamIdentifier(String streamName, String vobName)
streamName
- vobName
- protected Commandline createUpdateConfigSpecCommandLine(File workingDirectory, File configSpecLocation, String viewName)
protected String getViewStore()
protected boolean isClearCaseLT()
protected boolean isClearCaseUCM()
protected boolean useVWS()
public void setSettings(Settings settings)
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.