Class ExclusiveResourceCollector
- java.lang.Object
-
- org.junit.jupiter.engine.descriptor.ExclusiveResourceCollector
-
- Direct Known Subclasses:
ExclusiveResourceCollector.DefaultExclusiveResourceCollector
abstract class ExclusiveResourceCollector extends java.lang.Object- Since:
- 5.12
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classExclusiveResourceCollector.DefaultExclusiveResourceCollector
-
Field Summary
Fields Modifier and Type Field Description private static ExclusiveResourceCollectorNO_EXCLUSIVE_RESOURCES
-
Constructor Summary
Constructors Constructor Description ExclusiveResourceCollector()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) static ExclusiveResourceCollectorfrom(java.lang.reflect.AnnotatedElement element)(package private) java.util.stream.Stream<ExclusiveResource>getAllExclusiveResources(java.util.function.Function<org.junit.jupiter.api.parallel.ResourceLocksProvider,java.util.Set<org.junit.jupiter.api.parallel.ResourceLocksProvider.Lock>> providerToLocks)(package private) abstract java.util.stream.Stream<ExclusiveResource>getDynamicResources(java.util.function.Function<org.junit.jupiter.api.parallel.ResourceLocksProvider,java.util.Set<org.junit.jupiter.api.parallel.ResourceLocksProvider.Lock>> providerToLocks)(package private) abstract java.util.stream.Stream<ExclusiveResource>getStaticResourcesFor(org.junit.jupiter.api.parallel.ResourceLockTarget target)
-
-
-
Field Detail
-
NO_EXCLUSIVE_RESOURCES
private static final ExclusiveResourceCollector NO_EXCLUSIVE_RESOURCES
-
-
Method Detail
-
getAllExclusiveResources
java.util.stream.Stream<ExclusiveResource> getAllExclusiveResources(java.util.function.Function<org.junit.jupiter.api.parallel.ResourceLocksProvider,java.util.Set<org.junit.jupiter.api.parallel.ResourceLocksProvider.Lock>> providerToLocks)
-
getStaticResourcesFor
abstract java.util.stream.Stream<ExclusiveResource> getStaticResourcesFor(org.junit.jupiter.api.parallel.ResourceLockTarget target)
-
getDynamicResources
abstract java.util.stream.Stream<ExclusiveResource> getDynamicResources(java.util.function.Function<org.junit.jupiter.api.parallel.ResourceLocksProvider,java.util.Set<org.junit.jupiter.api.parallel.ResourceLocksProvider.Lock>> providerToLocks)
-
from
static ExclusiveResourceCollector from(java.lang.reflect.AnnotatedElement element)
-
-