Enum ExecutionTime
- java.lang.Object
-
- java.lang.Enum<ExecutionTime>
-
- io.quarkus.deployment.annotations.ExecutionTime
-
- All Implemented Interfaces:
Serializable
,Comparable<ExecutionTime>
public enum ExecutionTime extends Enum<ExecutionTime>
Enum that specifies at what time generated bytecode should be run
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RUNTIME_INIT
The bytecode is run from a main methodSTATIC_INIT
The bytecode is run from a generated static initializer
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutionTime
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExecutionTime[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATIC_INIT
public static final ExecutionTime STATIC_INIT
The bytecode is run from a generated static initializer
-
RUNTIME_INIT
public static final ExecutionTime RUNTIME_INIT
The bytecode is run from a main method
-
-
Method Detail
-
values
public static ExecutionTime[] 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 (ExecutionTime c : ExecutionTime.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionTime valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-