org.tap4j.model
Class Comment
java.lang.Object
org.tap4j.model.AbstractTapElementDiagnostic
org.tap4j.model.TapResult
org.tap4j.model.Comment
- All Implemented Interfaces:
- Serializable, TapElement
public class Comment
- extends TapResult
A TAP Comment. In TAP files the comments have a # before the text.
- Since:
- 1.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Comment
public Comment(String text)
- Constructor with text. A comment must always have a text.
- Parameters:
text
- Text of the comment.
getText
public String getText()
- Returns:
- Comment text.
isInline
public boolean isInline()
- Returns:
- the inline
setInline
public void setInline(boolean inline)
- Parameters:
inline
- the inline to set
Copyright © 2010-2012 TupiLabs. All Rights Reserved.