Class CheckOutScmResult
- java.lang.Object
- 
- org.apache.maven.scm.ScmResult
- 
- org.apache.maven.scm.command.checkout.CheckOutScmResult
 
 
- 
- All Implemented Interfaces:
- Serializable
 - Direct Known Subclasses:
- LocalCheckOutScmResult
 
 public class CheckOutScmResult extends ScmResult - Author:
- Trygve Laugstøl, Olivier Lamy
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected StringrelativePathProjectDirectoryThe 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.- 
Fields inherited from class org.apache.maven.scm.ScmResultPASSWORD_PLACE_HOLDER
 
- 
 - 
Constructor SummaryConstructors Constructor Description CheckOutScmResult(String commandLine, String providerMessage, String commandOutput, boolean success)CheckOutScmResult(String commandLine, String revision, List<ScmFile> checkedOutFiles)CheckOutScmResult(String commandLine, String revision, List<ScmFile> checkedOutFiles, String relativePathProjectDirectory)CheckOutScmResult(String commandLine, List<ScmFile> checkedOutFiles)CheckOutScmResult(String commandLine, List<ScmFile> checkedOutFiles, String relativePathProjectDirectory)CheckOutScmResult(List<ScmFile> checkedOutFiles, ScmResult result)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ScmFile>getCheckedOutFiles()StringgetRelativePathProjectDirectory()StringgetRevision()Checked-out revision.- 
Methods inherited from class org.apache.maven.scm.ScmResultgetCommandLine, getCommandOutput, getProviderMessage, isSuccess
 
- 
 
- 
- 
- 
Field Detail- 
relativePathProjectDirectoryprotected 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 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". 
 
- 
 - 
Constructor Detail- 
CheckOutScmResultpublic CheckOutScmResult(String commandLine, String providerMessage, String commandOutput, boolean success) 
 - 
CheckOutScmResultpublic CheckOutScmResult(String commandLine, List<ScmFile> checkedOutFiles) 
 - 
CheckOutScmResultpublic CheckOutScmResult(String commandLine, String revision, List<ScmFile> checkedOutFiles) 
 - 
CheckOutScmResultpublic CheckOutScmResult(String commandLine, List<ScmFile> checkedOutFiles, String relativePathProjectDirectory) 
 - 
CheckOutScmResultpublic CheckOutScmResult(String commandLine, String revision, List<ScmFile> checkedOutFiles, String relativePathProjectDirectory) 
 - 
CheckOutScmResultpublic CheckOutScmResult(List<ScmFile> checkedOutFiles, ScmResult result) 
 
- 
 - 
Method Detail- 
getCheckedOutFilespublic List<ScmFile> getCheckedOutFiles() 
 - 
getRelativePathProjectDirectorypublic String getRelativePathProjectDirectory() - Returns:
- the contents of relativePathProjectDirectory
- See Also:
- relativePathProjectDirectory
 
 - 
getRevisionpublic String getRevision() Checked-out revision. SCM's that have no revision per repository (or branch) should storenullhere.- Returns:
- the revision that was checked out
- Since:
- 1.8
 
 
- 
 
-