Enum Class ParallelHierarchicalTestExecutorServiceFactory.ParallelExecutorServiceType
java.lang.Object
java.lang.Enum<ParallelHierarchicalTestExecutorServiceFactory.ParallelExecutorServiceType>
org.junit.platform.engine.support.hierarchical.ParallelHierarchicalTestExecutorServiceFactory.ParallelExecutorServiceType
- All Implemented Interfaces:
Serializable, Comparable<ParallelHierarchicalTestExecutorServiceFactory.ParallelExecutorServiceType>, Constable
- Enclosing class:
ParallelHierarchicalTestExecutorServiceFactory
@API(status=MAINTAINED,
since="6.1")
public static enum ParallelHierarchicalTestExecutorServiceFactory.ParallelExecutorServiceType
extends Enum<ParallelHierarchicalTestExecutorServiceFactory.ParallelExecutorServiceType>
Type of
HierarchicalTestExecutorService that supports parallel
execution.- Since:
- 6.1
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates thatForkJoinPoolHierarchicalTestExecutorServiceshould be used.Indicates thatWorkerThreadPoolHierarchicalTestExecutorServiceshould be used. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORK_JOIN_POOL
public static final ParallelHierarchicalTestExecutorServiceFactory.ParallelExecutorServiceType FORK_JOIN_POOLIndicates thatForkJoinPoolHierarchicalTestExecutorServiceshould be used. -
WORKER_THREAD_POOL
@API(status=EXPERIMENTAL, since="6.1") public static final ParallelHierarchicalTestExecutorServiceFactory.ParallelExecutorServiceType WORKER_THREAD_POOLIndicates thatWorkerThreadPoolHierarchicalTestExecutorServiceshould be used.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static ParallelHierarchicalTestExecutorServiceFactory.ParallelExecutorServiceType valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-