org.apache.maven.scm.provider.clearcase.command.checkout
Class ClearCaseCheckOutCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.command.checkout.AbstractCheckOutCommand
org.apache.maven.scm.provider.clearcase.command.checkout.ClearCaseCheckOutCommand
- All Implemented Interfaces:
- Command, ClearCaseCommand
public class ClearCaseCheckOutCommand
- extends AbstractCheckOutCommand
- implements ClearCaseCommand
- Author:
- Wim Deblauwe, Frederic Mura
Fields inherited from interface org.apache.maven.scm.command.Command |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClearCaseCheckOutCommand
public ClearCaseCheckOutCommand()
executeCheckOutCommand
protected CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repository,
ScmFileSet fileSet,
ScmVersion version)
throws ScmException
- Specified by:
executeCheckOutCommand
in class AbstractCheckOutCommand
- Throws:
ScmException
writeTemporaryConfigSpecFile
protected File writeTemporaryConfigSpecFile(String configSpecContents,
String viewName)
throws IOException
- Creates a temporary config spec file with the given contents that will be
deleted on VM exit.
- Parameters:
configSpecContents
- The contents for the fileviewName
- The name of the view; used to determine an appropriate file
name
- Throws:
IOException
createConfigSpec
protected String createConfigSpec(String loadDirectory,
ScmVersion version)
- Creates a config spec that loads the given loadDirectory and uses the
given version tag
- Parameters:
loadDirectory
- the VOB directory to be loadedversion
- ClearCase label type; notice that branch types are not
supported
- Returns:
- Config Spec as String
createCreateViewCommandLine
protected org.codehaus.plexus.util.cli.Commandline createCreateViewCommandLine(File workingDirectory,
String viewName,
String streamIdentifier)
throws IOException
- Throws:
IOException
getStreamIdentifier
protected String getStreamIdentifier(String streamName,
String vobName)
- Format the stream identifier for ClearCaseUCM
- Parameters:
streamName
- vobName
-
- Returns:
- the formatted stream identifier if the two parameter are not null
createUpdateConfigSpecCommandLine
protected org.codehaus.plexus.util.cli.Commandline createUpdateConfigSpecCommandLine(File workingDirectory,
File configSpecLocation,
String viewName)
getViewStore
protected String getViewStore()
isClearCaseLT
protected boolean isClearCaseLT()
isClearCaseUCM
protected boolean isClearCaseUCM()
useVWS
protected boolean useVWS()
- Returns:
- the value of the setting property 'useVWS'
setSettings
public void setSettings(org.apache.maven.scm.providers.clearcase.settings.Settings settings)
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.