br.eti.kinoshita.tap4j.model
Class BailOut

java.lang.Object
  extended by br.eti.kinoshita.tap4j.model.BailOut
All Implemented Interfaces:
TapResult, Serializable

public class BailOut
extends Object
implements TapResult

Represents a Bail Out TAP Line. The test execution should be suspended if there is a Bail Out.

Since:
1.0
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br
See Also:
Serialized Form

Constructor Summary
BailOut(String reason)
          Constructor with parameter.
 
Method Summary
 Comment getComment()
           
 String getReason()
           
 void setComment(Comment comment)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BailOut

public BailOut(String reason)
Constructor with parameter.

Parameters:
reason - Reason to Bail Out.
Method Detail

getReason

public String getReason()
Returns:
Reason to Bail Out.

getComment

public Comment getComment()
Returns:
Bail Out comment.

setComment

public void setComment(Comment comment)
Parameters:
comment - Bail Out comment.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.