Enum Isolation
- All Implemented Interfaces:
Serializable,Comparable<Isolation>
Isolation level.
-
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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-