Package io.quarkus.runtime.annotations
Enum ConfigPhase
- java.lang.Object
-
- java.lang.Enum<ConfigPhase>
-
- io.quarkus.runtime.annotations.ConfigPhase
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigPhase>
public enum ConfigPhase extends Enum<ConfigPhase>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOTSTRAP
Values are read and available for usage at run time and are re-read on each program execution.BUILD_AND_RUN_TIME_FIXED
Values are read and available for usage at build time, and available on a read-only basis at run time.BUILD_TIME
Values are read and available for usage at build time.RUN_TIME
Values are read and available for usage at run time and are re-read on each program execution.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAvailableAtBuild()
boolean
isAvailableAtRun()
boolean
isReadAtMain()
boolean
isReadAtStaticInit()
String
toString()
static ConfigPhase
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConfigPhase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUILD_TIME
public static final ConfigPhase BUILD_TIME
Values are read and available for usage at build time.
-
BUILD_AND_RUN_TIME_FIXED
public static final ConfigPhase BUILD_AND_RUN_TIME_FIXED
Values are read and available for usage at build time, and available on a read-only basis at run time.
-
BOOTSTRAP
public static final ConfigPhase BOOTSTRAP
Values are read and available for usage at run time and are re-read on each program execution. These values are used to configure ConfigSourceProvider implementations
-
RUN_TIME
public static final ConfigPhase RUN_TIME
Values are read and available for usage at run time and are re-read on each program execution.
-
-
Method Detail
-
values
public static ConfigPhase[] 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 (ConfigPhase c : ConfigPhase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigPhase 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
-
isAvailableAtBuild
public boolean isAvailableAtBuild()
-
isAvailableAtRun
public boolean isAvailableAtRun()
-
isReadAtStaticInit
public boolean isReadAtStaticInit()
-
isReadAtMain
public boolean isReadAtMain()
-
toString
public String toString()
- Overrides:
toString
in classEnum<ConfigPhase>
-
-