Package com.evolveum.midpoint.ninja.impl
Enum Class NinjaApplicationContextLevel
java.lang.Object
java.lang.Enum<NinjaApplicationContextLevel>
com.evolveum.midpoint.ninja.impl.NinjaApplicationContextLevel
- All Implemented Interfaces:
Serializable
,Comparable<NinjaApplicationContextLevel>
,Constable
Represents different levels of Spring application context initialization for midpoint.
Each ninja action requires different levels of midpoint being initialized, starting from
NONE
up to FULL_REPOSITORY
with full repository/audit initialization.- Author:
- Viliam Repan
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFull repository and audit layer initialization.Midpoint configuration and prism related beans are initialized.No initialization required.Only midpoint configuration related beans are initialized. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static NinjaApplicationContextLevel
Returns the enum constant of this class with the specified name.static NinjaApplicationContextLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No initialization required. -
STARTUP_CONFIGURATION
Only midpoint configuration related beans are initialized. -
NO_REPOSITORY
Midpoint configuration and prism related beans are initialized. -
FULL_REPOSITORY
Full repository and audit layer initialization.
-
-
Field Details
-
contexts
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
containsPrismInitialization
public boolean containsPrismInitialization()
-