org.apache.maven.surefire.failsafe.model
Class FailsafeSummary

java.lang.Object
  extended by org.apache.maven.surefire.failsafe.model.FailsafeSummary
All Implemented Interfaces:
Serializable

public class FailsafeSummary
extends Object
implements Serializable

Describes the results of executing tests .

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
FailsafeSummary()
           
 
Method Summary
 String getException()
          Get the exception that caused surefire to bomb out.
 String getModelEncoding()
          Get the modelEncoding field.
 int getResult()
          Get the surefire result code.
 void merge(FailsafeSummary summary)
          Merges the summary result with this summary result.
 void setException(String exception)
          Set the exception that caused surefire to bomb out.
 void setModelEncoding(String modelEncoding)
          Set the modelEncoding field.
 void setResult(int result)
          Set the surefire result code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailsafeSummary

public FailsafeSummary()
Method Detail

getException

public String getException()
Get the exception that caused surefire to bomb out.

Returns:
String

getModelEncoding

public String getModelEncoding()
Get the modelEncoding field.

Returns:
String

getResult

public int getResult()
Get the surefire result code.

Returns:
int

setException

public void setException(String exception)
Set the exception that caused surefire to bomb out.

Parameters:
exception -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set the modelEncoding field.

Parameters:
modelEncoding -

setResult

public void setResult(int result)
Set the surefire result code.

Parameters:
result -

merge

public void merge(FailsafeSummary summary)
Merges the summary result with this summary result.

Parameters:
summary - The summary to merge.
Since:
2.6


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.