Enum Class ApplicationModuleTest.BootstrapMode
java.lang.Object
java.lang.Enum<ApplicationModuleTest.BootstrapMode>
org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
- All Implemented Interfaces:
Serializable
,Comparable<ApplicationModuleTest.BootstrapMode>
,Constable
- Enclosing class:
- ApplicationModuleTest
public static enum ApplicationModuleTest.BootstrapMode
extends Enum<ApplicationModuleTest.BootstrapMode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBootstraps the current module as well as all upstream dependencies (including transitive ones).Bootstraps the current module as well as its direct dependencies.Bootstraps the current module only. -
Method Summary
Modifier and TypeMethodDescriptiongetDepth()
Returns theDependencyDepth
associated with theApplicationModuleTest.BootstrapMode
.Returns the enum constant of this class with the specified name.static ApplicationModuleTest.BootstrapMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STANDALONE
Bootstraps the current module only. -
DIRECT_DEPENDENCIES
Bootstraps the current module as well as its direct dependencies. -
ALL_DEPENDENCIES
Bootstraps the current module as well as all upstream dependencies (including transitive ones).
-
-
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
-
getDepth
Returns theDependencyDepth
associated with theApplicationModuleTest.BootstrapMode
.- Returns:
- will never be null.
-