org.tap4j.model
Class Footer

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

public class Footer
extends AbstractTapElementDiagnostic

This class represents a Footer in the TAP Stream. A Footer, or tail is a mere line with some text. In the very beginning there is a 'TAP' token and then the text. For instance, 'TAP done' is a valid Footer.

Since:
1.0
See Also:
Serialized Form

Constructor Summary
Footer(String text)
          Constructor that calls super class constructor.
 
Method Summary
 Comment getComment()
           
 String getText()
           
 void setComment(Comment 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

Footer

public Footer(String text)
Constructor that calls super class constructor.

Parameters:
text - Footer text
Method Detail

getText

public String getText()
Returns:
Footer's text.

setComment

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

getComment

public Comment getComment()
Returns:
Comment.


Copyright © 2010-2012 TupiLabs. All Rights Reserved.