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
 void addException(String string)
          Method addException.
 String getException()
          Get [DEPRECATED] The (original) exception that caused surefire to bomb out.
 List<String> getExceptions()
          Method getExceptions.
 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 removeException(String string)
          Method removeException.
 void setException(String exception)
          Set [DEPRECATED] The (original) exception that caused surefire to bomb out.
 void setExceptions(List<String> exceptions)
          Set the exception(s) 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

addException

public void addException(String string)
Method addException.

Parameters:
string -

getException

public String getException()
Get [DEPRECATED] The (original) exception that caused surefire to bomb out.

Returns:
String

getExceptions

public List<String> getExceptions()
Method getExceptions.

Returns:
List

getModelEncoding

public String getModelEncoding()
Get the modelEncoding field.

Returns:
String

getResult

public int getResult()
Get the surefire result code.

Returns:
int

removeException

public void removeException(String string)
Method removeException.

Parameters:
string -

setException

public void setException(String exception)
Set [DEPRECATED] The (original) exception that caused surefire to bomb out.

Parameters:
exception -

setExceptions

public void setExceptions(List<String> exceptions)
Set the exception(s) that caused surefire to bomb out.

Parameters:
exceptions -

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-2012 The Apache Software Foundation. All Rights Reserved.