public class CheckOutScmResult extends ScmResult
Modifier and Type | Field and Description |
---|---|
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.
|
PASSWORD_PLACE_HOLDER
Constructor and Description |
---|
CheckOutScmResult(List<ScmFile> checkedOutFiles,
ScmResult result) |
CheckOutScmResult(String commandLine,
List<ScmFile> checkedOutFiles) |
CheckOutScmResult(String commandLine,
List<ScmFile> checkedOutFiles,
String relativePathProjectDirectory) |
CheckOutScmResult(String commandLine,
String revision,
List<ScmFile> checkedOutFiles) |
CheckOutScmResult(String commandLine,
String revision,
List<ScmFile> checkedOutFiles,
String relativePathProjectDirectory) |
CheckOutScmResult(String commandLine,
String providerMessage,
String commandOutput,
boolean success) |
Modifier and Type | Method and Description |
---|---|
List<ScmFile> |
getCheckedOutFiles() |
String |
getRelativePathProjectDirectory() |
String |
getRevision()
Checked-out revision.
|
getCommandLine, getCommandOutput, getProviderMessage, isSuccess
protected String relativePathProjectDirectory
With most SCMs, this is just an empty String, meaning that the checkout directory equals the project directory. But there are cases 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".
public CheckOutScmResult(String commandLine, String providerMessage, String commandOutput, boolean success)
public CheckOutScmResult(String commandLine, List<ScmFile> checkedOutFiles)
public CheckOutScmResult(String commandLine, String revision, List<ScmFile> checkedOutFiles)
public CheckOutScmResult(String commandLine, List<ScmFile> checkedOutFiles, String relativePathProjectDirectory)
public CheckOutScmResult(String commandLine, String revision, List<ScmFile> checkedOutFiles, String relativePathProjectDirectory)
public CheckOutScmResult(List<ScmFile> checkedOutFiles, ScmResult result)
public List<ScmFile> getCheckedOutFiles()
public String getRelativePathProjectDirectory()
relativePathProjectDirectory
relativePathProjectDirectory
public String getRevision()
null
here.Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.