public enum ConfigPhase extends Enum<ConfigPhase>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAvailableAtBuild() |
boolean |
isAvailableAtRun() |
boolean |
isReadAtMain() |
boolean |
isReadAtStaticInit() |
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.
|
public static final ConfigPhase BUILD_TIME
public static final ConfigPhase BUILD_AND_RUN_TIME_FIXED
public static final ConfigPhase RUN_TIME
public static ConfigPhase[] values()
for (ConfigPhase c : ConfigPhase.values()) System.out.println(c);
public static ConfigPhase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isAvailableAtBuild()
public boolean isAvailableAtRun()
public boolean isReadAtStaticInit()
public boolean isReadAtMain()
Copyright © 2019 JBoss by Red Hat. All rights reserved.