Class ChildElement<P extends Element<P>,T extends ChildElement<P,T>>
java.lang.Object
org.opentest4j.reporting.events.api.Element<T>
org.opentest4j.reporting.events.api.ChildElement<P,T>
- Type Parameters:
P
- parent element typeT
- child element type
- All Implemented Interfaces:
Appendable<T>
- Direct Known Subclasses:
Attachments
,ClasspathResourceSource
,ClassSource
,CpuCores
,Data
,DirectorySource
,Event
,FileEncoding
,FilePosition
,FileSource
,HeapSize
,HostName
,Infrastructure
,JavaVersion
,Metadata
,MethodSource
,OperatingSystem
,PackageSource
,Reason
,Result
,Sources
,Tag
,Tags
,Throwable
,UriSource
,UserName
Base class for child elements with well-known parent types.
-
Constructor Summary
ConstructorsConstructorDescriptionChildElement
(Context context, org.opentest4j.reporting.schema.QualifiedName qualifiedName) Create an instance with the supplied context and qualified name. -
Method Summary
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
-
Constructor Details
-
ChildElement
Create an instance with the supplied context and qualified name.- Parameters:
context
- the context of this instancequalifiedName
- the qualified name of this instance
-