org.specrunner.report.core
Class Resume

java.lang.Object
  extended by org.specrunner.report.core.Resume

public class Resume
extends Object

Default resume of a result.

Author:
Thiago Santos

Constructor Summary
Resume()
           
 
Method Summary
 int getAssertionCounter()
          Gets the assertions counter.
 int getAssertionTotal()
          Gets the assertions total counter.
 int getIndex()
          Gets the index.
 Object getInput()
          Get the input.
 Object getOutput()
          Get the output.
 Status getStatus()
          Get the status.
 int getStatusCounter()
          Gets the status counter.
 int getStatusTotal()
          Gets the status total.
 long getTime()
          Get time.
 Object getTimestamp()
          Get timestamp.
 void setAssertionCounter(int assertionCounter)
          Sets the assertions counter.
 void setAssertionTotal(int assertionTotal)
          Sets the assertions total.
 void setIndex(int index)
          Set the index.
 void setInput(Object input)
          Set the input.
 void setOutput(Object output)
          Set the output.
 void setStatus(Status status)
          Sets the status.
 void setStatusCounter(int statusCounter)
          Set the status counter.
 void setStatusTotal(int statusTotal)
          Sets the status total.
 void setTime(long time)
          Set time.
 void setTimestamp(Object timestamp)
          Set the timestamp.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resume

public Resume()
Method Detail

getIndex

public int getIndex()
Gets the index.

Returns:
The index.

setIndex

public void setIndex(int index)
Set the index.

Parameters:
index - The index.

getTime

public long getTime()
Get time.

Returns:
The time.

setTime

public void setTime(long time)
Set time.

Parameters:
time - The time.

getTimestamp

public Object getTimestamp()
Get timestamp.

Returns:
The timestamp.

setTimestamp

public void setTimestamp(Object timestamp)
Set the timestamp.

Parameters:
timestamp - The timestamp.

getInput

public Object getInput()
Get the input.

Returns:
The input.

setInput

public void setInput(Object input)
Set the input.

Parameters:
input - The input.

getOutput

public Object getOutput()
Get the output.

Returns:
The output.

setOutput

public void setOutput(Object output)
Set the output.

Parameters:
output - The output.

getStatus

public Status getStatus()
Get the status.

Returns:
The status.

setStatus

public void setStatus(Status status)
Sets the status.

Parameters:
status - The status.

getStatusCounter

public int getStatusCounter()
Gets the status counter.

Returns:
The counter.

setStatusCounter

public void setStatusCounter(int statusCounter)
Set the status counter.

Parameters:
statusCounter - The counter.

getStatusTotal

public int getStatusTotal()
Gets the status total.

Returns:
The total.

setStatusTotal

public void setStatusTotal(int statusTotal)
Sets the status total.

Parameters:
statusTotal - The total.

getAssertionCounter

public int getAssertionCounter()
Gets the assertions counter.

Returns:
The assertions counter.

setAssertionCounter

public void setAssertionCounter(int assertionCounter)
Sets the assertions counter.

Parameters:
assertionCounter - The assertions counter.

getAssertionTotal

public int getAssertionTotal()
Gets the assertions total counter.

Returns:
The assertions total counter.

setAssertionTotal

public void setAssertionTotal(int assertionTotal)
Sets the assertions total.

Parameters:
assertionTotal - The assertions total counter.


Copyright © 2014. All rights reserved.