Enum ProfilingMode

    • Enum Constant Detail

      • ON

        public static final ProfilingMode ON
        Profiling is enabled and is driven by setting logging levels via system configuration object. This is the same as profilingEnabled = true in pre-4.0 versions.
      • OFF

        public static final ProfilingMode OFF
        Profiling is disabled. MidpointInterceptor is not loaded. This is the same as profilingEnabled = false in pre-4.0 versions.
      • DYNAMIC

        public static final ProfilingMode DYNAMIC
        Profiling is enabled/disabled on demand. MidpointInterceptor is loaded and ready to use. Profiling is started either on request of midPoint code (see e.g. profilingObjectIntervalStart/profilingObjectIntervalLength extension properties) or traditionally by setting logging levels via system configuration object.
    • Method Detail

      • values

        public static ProfilingMode[] 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 (ProfilingMode c : ProfilingMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ProfilingMode 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 name
        NullPointerException - if the argument is null
      • getValue

        public String getValue()