org.apache.maven.scm

Class ScmResult

public class ScmResult extends 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(String commandLine, String providerMessage, String commandOutput, boolean success)
Method Summary
StringgetCommandLine()
StringgetCommandOutput()
StringgetProviderMessage()
booleanisSuccess()

Constructor Detail

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(String commandLine, String providerMessage, String commandOutput, boolean success)

Method Detail

getCommandLine

public String getCommandLine()

Returns: The actual provider specific command that resulted in this

getCommandOutput

public String getCommandOutput()

Returns: Output from Std.Out from the provider during execution of the command that resulted in this

getProviderMessage

public 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

isSuccess

public boolean isSuccess()
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.