org.apache.maven.scm
Class ScmResult
java.lang.Object
org.apache.maven.scm.ScmResult
- Direct Known Subclasses:
- AddScmResult, ChangeLogScmResult, CheckInScmResult, CheckOutScmResult, CommandLineScmResult, DiffScmResult, EditScmResult, LoginScmResult, LoginScmResult, RemoveScmResult, StatusScmResult, TagScmResult, UnEditScmResult, UpdateScmResult
- public class ScmResult
- extends java.lang.Object
- Version:
- $Id: ScmResult.java 381352 2006-02-27 15:00:06Z evenisse $
- Author:
- Trygve Laugstøl
Constructor Summary |
ScmResult(ScmResult scmResult)
Copy constructor. |
ScmResult(java.lang.String commandLine,
java.lang.String providerMessage,
java.lang.String commandOutput,
boolean success)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScmResult
public ScmResult(ScmResult scmResult)
- Copy constructor.
Typically used from derived classes when wrapping a ScmResult
into a spesific type eg. AddAcmResult
ScmResult
public ScmResult(java.lang.String commandLine,
java.lang.String providerMessage,
java.lang.String commandOutput,
boolean success)
isSuccess
public boolean isSuccess()
getProviderMessage
public java.lang.String getProviderMessage()
- Returns:
- A message from the provider. On success this would typically be null or
an empty string. On failure it would be the error message from the provider
getCommandOutput
public java.lang.String getCommandOutput()
- Returns:
- Output from Std.Out from the provider during execution
of the command that resulted in this
getCommandLine
public java.lang.String getCommandLine()
- Returns:
- The actual provider specific command that resulted in this
Copyright © 2003-2006 Apache Software Foundation. All Rights Reserved.