public class ScmResult extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
PASSWORD_PLACE_HOLDER |
Constructor and Description |
---|
ScmResult(ScmResult scmResult)
Copy constructor.
|
ScmResult(String commandLine,
String providerMessage,
String commandOutput,
boolean success)
ScmResult contructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommandLine() |
String |
getCommandOutput() |
String |
getProviderMessage() |
boolean |
isSuccess() |
public static final String PASSWORD_PLACE_HOLDER
public ScmResult(ScmResult scmResult)
Typically used from derived classes when wrapping a ScmResult into a specific type eg. AddScmResult
scmResult
- not nullpublic ScmResult(String commandLine, String providerMessage, String commandOutput, boolean success)
commandLine
- The provider specific command line usedproviderMessage
- The provider messagecommandOutput
- The command output of the scm toolsuccess
- True if the command is in successpublic boolean isSuccess()
public String getProviderMessage()
public String getCommandOutput()
public String getCommandLine()
Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.