Class Namespace
java.lang.Object
org.junit.platform.engine.support.store.Namespace
A
Namespace is used to provide a scope for data saved by
extensions within a NamespacedHierarchicalStore.
Storing data in custom namespaces allows extensions to avoid accidentally mixing data between extensions or across different invocations within the lifecycle of a single extension.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionCreate a new namespace by appending the suppliedpartsto the existing sequence of parts in this namespace.static NamespaceCreate a namespace which restricts access to data to all extensions which use the same sequence ofpartsfor creating a namespace.static NamespaceCreate a namespace which restricts access to data to all extensions which use the same sequence ofobjectsfor creating a namespace.booleaninthashCode()
-
Field Details
-
GLOBAL
The default, global namespace which allows access to stored data from all extensions.
-
-
Method Details
-
create
Create a namespace which restricts access to data to all extensions which use the same sequence ofpartsfor creating a namespace.The order of the
partsis significant.Internally the
partsare compared usingObject.equals(Object). -
create
Create a namespace which restricts access to data to all extensions which use the same sequence ofobjectsfor creating a namespace.The order of the
objectsis significant.Internally the
objectsare compared usingObject.equals(Object). -
equals
-
hashCode
-
append
-