Enum Class ActionElevationType

All Implemented Interfaces:
Serializable, Comparable<ActionElevationType>, Constable

public enum ActionElevationType extends Enum<ActionElevationType>
Enumeration class for all possible elevation strategies for actions.
See Also:
  • Enum Constant Details


      public static final ActionElevationType INHERIT
      The action elevation type will be inherited from the parent element, such as the action or screen group, the screen or the installer application itself.
    • NONE

      public static final ActionElevationType NONE
      The action will not be elevated, it will run in-process as the original user.

      public static final ActionElevationType ELEVATE
      If elevated privileges are available, the action will be run in the elevated helper process.
  • Method Details

    • values

      public static ActionElevationType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ActionElevationType 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getId

      public int getId()
      Convert to an int value.
      the int value