Enum Class Isolation
- All Implemented Interfaces:
Serializable,Comparable<Isolation>,Constable
Isolation level.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
ABSOLUTE
Total isolation.MAIN - target/classes - main dependencies... TEST - target/test-classes - test dependencies... JUNIT PLATFORM - junit-platform-launcher - junit-jupiter-engine - junit-vintage-engine - more runtime-only test engines... ISOLATOR - junit-platform-isolator - junit-platform-isolator-worker -
ALMOST
Almost total isolation - main and test classes are put into the same layer.MAIN - main dependencies... TEST - target/classes - target/test-classes - test dependencies... JUNIT PLATFORM - junit-platform-launcher - junit-jupiter-engine - junit-vintage-engine - more runtime-only test engines... ISOLATOR - junit-platform-isolator - junit-platform-isolator-worker -
MERGED
Merge main and test layers.MERGED (TEST + MAIN) - target/test-classes - test dependencies... - target/classes - main dependencies... JUNIT PLATFORM - junit-platform-launcher - junit-jupiter-engine - junit-vintage-engine - more runtime-only test engines... ISOLATOR - junit-platform-isolator - junit-platform-isolator-worker -
NONE
No isolation, all dependencies are put into a single layer.ALL - target/classes - main dependencies... - target/test-classes - test dependencies... - junit-platform-launcher - junit-jupiter-engine - junit-vintage-engine - more runtime-only test engines... - junit-platform-isolator - junit-platform-isolator-worker
-
-
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
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
-