Enum SpringTestSupport.LifeCycle
- java.lang.Object
-
- java.lang.Enum<SpringTestSupport.LifeCycle>
-
- it.tidalwave.bluemarine2.commons.test.SpringTestSupport.LifeCycle
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SpringTestSupport.LifeCycle>
- Enclosing class:
- SpringTestSupport
protected static enum SpringTestSupport.LifeCycle extends java.lang.Enum<SpringTestSupport.LifeCycle>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AROUND_CLASS
AROUND_METHOD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpringTestSupport.LifeCycle
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SpringTestSupport.LifeCycle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AROUND_METHOD
public static final SpringTestSupport.LifeCycle AROUND_METHOD
-
AROUND_CLASS
public static final SpringTestSupport.LifeCycle AROUND_CLASS
-
-
Method Detail
-
values
public static SpringTestSupport.LifeCycle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SpringTestSupport.LifeCycle c : SpringTestSupport.LifeCycle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpringTestSupport.LifeCycle valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-