Package org.forgerock.opendj.setup.model
Enum Profile.ExecutionContext
- java.lang.Object
-
- java.lang.Enum<Profile.ExecutionContext>
-
- org.forgerock.opendj.setup.model.Profile.ExecutionContext
-
- All Implemented Interfaces:
Serializable
,Comparable<Profile.ExecutionContext>
- Enclosing class:
- Profile
public static enum Profile.ExecutionContext extends Enum<Profile.ExecutionContext>
Represents when a profileruns
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DURING_SETUP
Profile is configured during server setup.POST_SETUP
Profile is configured on an offline server already setup.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Profile.ExecutionContext
valueOf(String name)
Returns the enum constant of this type with the specified name.static Profile.ExecutionContext[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DURING_SETUP
public static final Profile.ExecutionContext DURING_SETUP
Profile is configured during server setup.
-
POST_SETUP
public static final Profile.ExecutionContext POST_SETUP
Profile is configured on an offline server already setup.
-
-
Method Detail
-
values
public static Profile.ExecutionContext[] 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 (Profile.ExecutionContext c : Profile.ExecutionContext.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Profile.ExecutionContext 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
-
-