Enum Class NinjaApplicationContextLevel

java.lang.Object
java.lang.Enum<NinjaApplicationContextLevel>
com.evolveum.midpoint.ninja.impl.NinjaApplicationContextLevel
All Implemented Interfaces:
Serializable, Comparable<NinjaApplicationContextLevel>, Constable

public enum NinjaApplicationContextLevel extends Enum<NinjaApplicationContextLevel>
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
  • Enum Constant Details

  • Field Details

    • contexts

      public final String[] contexts
  • Method Details

    • values

      public static NinjaApplicationContextLevel[] 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

      public static NinjaApplicationContextLevel valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • containsPrismInitialization

      public boolean containsPrismInitialization()