org.tap4j.model
Class BailOut

Package class diagram package BailOut
java.lang.Object
  extended by org.tap4j.model.AbstractTapElementDiagnostic
      extended by org.tap4j.model.TapResult
          extended by org.tap4j.model.BailOut
All Implemented Interfaces:
Serializable, TapElement

public class BailOut
extends TapResult

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

Since:
1.0
See Also:
Serialized Form

Constructor Summary
BailOut(String reason)
          Constructor with parameter.
 
Method Summary
 Comment getComment()
          Get the comment.
 String getReason()
          Get the reason for bailing out.
 void setComment(Comment comment)
          Set the comment.
 
Methods inherited from class org.tap4j.model.AbstractTapElementDiagnostic
getDiagnostic, setDiagnostic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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()
Get the reason for bailing out.

Returns:
Reason to Bail Out.

getComment

public Comment getComment()
Get the comment.

Returns:
Bail Out comment.

setComment

public void setComment(Comment comment)
Set the comment.

Parameters:
comment - Bail Out comment.


Copyright © 2010-2012 TupiLabs. All Rights Reserved.