|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PropertyDefinitionTime> de.smartics.properties.api.core.annotations.PropertyDefinitionTime
public enum PropertyDefinitionTime
Defines the different times the definition of a property is conducted.
PropertyLifecycle.definitionTime()
Enum Constant Summary | |
---|---|
BUILD The property value is set at build time. |
|
DEPLOYMENT The configuration is applied at deployment time as part of the deploy process. |
|
PACKAGING The property value is set at packaging time. |
|
RUN The configuration can be applied at any time the application is running. |
|
STARTUP The configuration is applied on start up of the application. |
Method Summary | |
---|---|
static PropertyDefinitionTime |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static PropertyDefinitionTime[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PropertyDefinitionTime BUILD
Properties defined at build time are not recommended, because the value of such a property can only be changed with great effort (i.e. running the build again).
public static final PropertyDefinitionTime PACKAGING
Properties defined at build time are not recommended, because the value of such a property can only be changed with great effort (i.e. creating the archives again).
public static final PropertyDefinitionTime DEPLOYMENT
public static final PropertyDefinitionTime STARTUP
public static final PropertyDefinitionTime RUN
Method Detail |
---|
public static PropertyDefinitionTime[] values()
for (PropertyDefinitionTime c : PropertyDefinitionTime.values()) System.out.println(c);
public static PropertyDefinitionTime valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |