org.apache.maven.scm.command.checkout
Class CheckOutScmResult
java.lang.Object
org.apache.maven.scm.ScmResult
org.apache.maven.scm.command.checkout.CheckOutScmResult
- All Implemented Interfaces:
- Serializable
public class CheckOutScmResult
- extends ScmResult
- Version:
- $Id: CheckOutScmResult.java 1294391 2012-02-27 23:16:22Z hboutemy $
- Author:
- Trygve Laugstøl, Olivier Lamy
- See Also:
- Serialized Form
|
Field Summary |
protected String |
relativePathProjectDirectory
The relative path of the directory of the checked out project in comparison to the checkout directory, or
an empty String in case the checkout directory equals the project directory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
relativePathProjectDirectory
protected String relativePathProjectDirectory
- The relative path of the directory of the checked out project in comparison to the checkout directory, or
an empty String in case the checkout directory equals the project directory.
With most SCMs, this is just an empty String, meaning that the checkout directory equals the project directory.
But there are cases (e.g. ClearCase) where within the checkout directory, the directory structure of the
SCM system is repeated. E.g. if you check out the project "my/project" to "/some/dir", the project sources
are actually checked out to "my/project/some/dir". In this example, relativePathProjectDirectory would
contain "my/project".
CheckOutScmResult
public CheckOutScmResult(String commandLine,
String providerMessage,
String commandOutput,
boolean success)
CheckOutScmResult
public CheckOutScmResult(String commandLine,
List<ScmFile> checkedOutFiles)
CheckOutScmResult
public CheckOutScmResult(String commandLine,
List<ScmFile> checkedOutFiles,
String relativePathProjectDirectory)
CheckOutScmResult
public CheckOutScmResult(List<ScmFile> checkedOutFiles,
ScmResult result)
getCheckedOutFiles
public List<ScmFile> getCheckedOutFiles()
getRelativePathProjectDirectory
public String getRelativePathProjectDirectory()
- Returns:
- the contents of
relativePathProjectDirectory - See Also:
relativePathProjectDirectory
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.