Class NamespaceRegistry.Builder
java.lang.Object
org.opentest4j.reporting.events.api.NamespaceRegistry.Builder
- Enclosing class:
NamespaceRegistry
Builder for
NamespaceRegistry
.-
Method Summary
Modifier and TypeMethodDescriptionAdd an additional namespace to this registry.Add an additional namespace to this registry.build()
Build theNamespaceRegistry
.
-
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 namespacenamespace
- 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 namespacenamespace
- the namespaceschemaLocation
- the schema location of the namespace- Returns:
- this builder
-
build
Build theNamespaceRegistry
.- Returns:
- the namespace registry
-