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 type
T - 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

public class ChildElement<P extends Element<P>,T extends ChildElement<P,T>> extends Element<T>
Base class for child elements with well-known parent types.
  • Constructor Details

    • ChildElement

      public ChildElement(Context context, org.opentest4j.reporting.schema.QualifiedName qualifiedName)
      Create an instance with the supplied context and qualified name.
      Parameters:
      context - the context of this instance
      qualifiedName - the qualified name of this instance