Class NamespaceRegistry.Builder
- java.lang.Object
-
- org.opentest4j.reporting.events.api.NamespaceRegistry.Builder
-
- Enclosing class:
- NamespaceRegistry
public static class NamespaceRegistry.Builder extends java.lang.ObjectBuilder forNamespaceRegistry.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamespaceRegistry.Builderadd(java.lang.String prefix, org.opentest4j.reporting.schema.Namespace namespace)Add an additional namespace to this registry.NamespaceRegistry.Builderadd(java.lang.String prefix, org.opentest4j.reporting.schema.Namespace namespace, java.lang.String schemaLocation)Add an additional namespace to this registry.NamespaceRegistrybuild()Build theNamespaceRegistry.
-
-
-
Method Detail
-
add
public NamespaceRegistry.Builder add(java.lang.String prefix, org.opentest4j.reporting.schema.Namespace namespace)
Add an additional namespace to this registry.- Parameters:
prefix- the prefix for the namespacenamespace- the namespace- Returns:
- this builder
-
add
public NamespaceRegistry.Builder add(java.lang.String prefix, org.opentest4j.reporting.schema.Namespace namespace, java.lang.String schemaLocation)
Add an additional namespace to this registry.- Parameters:
prefix- the prefix for the namespacenamespace- the namespaceschemaLocation- the schema location of the namespace- Returns:
- this builder
-
build
public NamespaceRegistry build()
Build theNamespaceRegistry.- Returns:
- the namespace registry
-
-