Class NamespaceRegistry.Builder

java.lang.Object
org.opentest4j.reporting.events.api.NamespaceRegistry.Builder
Enclosing class:
NamespaceRegistry

public static class NamespaceRegistry.Builder extends Object
Builder for NamespaceRegistry.
  • Method Details

    • add

      public NamespaceRegistry.Builder add(String prefix, org.opentest4j.reporting.schema.Namespace namespace)
      Add an additional namespace to this registry.
      Parameters:
      prefix - the prefix for the namespace
      namespace - the namespace
      Returns:
      this builder
    • add

      public NamespaceRegistry.Builder add(String prefix, org.opentest4j.reporting.schema.Namespace namespace, String schemaLocation)
      Add an additional namespace to this registry.
      Parameters:
      prefix - the prefix for the namespace
      namespace - the namespace
      schemaLocation - the schema location of the namespace
      Returns:
      this builder
    • build

      public NamespaceRegistry build()
      Returns:
      the namespace registry