Class ClassSource
- java.lang.Object
-
- org.opentest4j.reporting.events.api.Element<T>
-
- org.opentest4j.reporting.events.api.ChildElement<Sources,ClassSource>
-
- org.opentest4j.reporting.events.java.ClassSource
-
- All Implemented Interfaces:
Appendable<ClassSource>
public class ClassSource extends ChildElement<Sources,ClassSource>
TheclassSource
element of the Java namespace.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Appendable<ClassSource>
addFilePosition(int line, java.util.Optional<java.lang.Integer> column)
Add afilePosition
child element to this element.-
Methods inherited from class org.opentest4j.reporting.events.api.Element
append, toString, withAttribute, withCDataSection, withContent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opentest4j.reporting.events.api.Appendable
append
-
-
-
-
Method Detail
-
addFilePosition
public Appendable<ClassSource> addFilePosition(int line, java.util.Optional<java.lang.Integer> column)
Add afilePosition
child element to this element.- Parameters:
line
- the line numbercolumn
- the column number- Returns:
- this element
-
-