Enum Class AbstractRunMojo.TestClasspath
java.lang.Object
java.lang.Enum<AbstractRunMojo.TestClasspath>
org.springframework.boot.maven.AbstractRunMojo.TestClasspath
- All Implemented Interfaces:
Serializable, Comparable<AbstractRunMojo.TestClasspath>, Constable
- Enclosing class:
AbstractRunMojo
Strategies to handle the test classpath when running an application.
- Since:
- 1.3.0
- Author:
- Phillip Webb, Stephane Nicoll, David Liu, Daniel Young, Dmytro Nosan, Moritz Halbritter
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInclude the full test classpath (test classes and dependencies with test scope).Include only dependencies with test scope.Do not include the test classpath at all. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AbstractRunMojo.TestClasspath[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OFF
Do not include the test classpath at all. -
DEPENDENCIES
Include only dependencies with test scope. -
ALL
Include the full test classpath (test classes and dependencies with test scope).
-
-
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
-