public enum ActionElevationType extends java.lang.Enum<ActionElevationType>
Enum Constant and Description |
---|
ELEVATE
If elevated privileges are available, the action will be run in the elevated helper process.
|
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
The action will not be elevated, it will run in-process as the original user.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Convert to an int value.
|
static ActionElevationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionElevationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionElevationType INHERIT
public static final ActionElevationType NONE
public static final ActionElevationType ELEVATE
public static ActionElevationType[] values()
for (ActionElevationType c : ActionElevationType.values()) System.out.println(c);
public static ActionElevationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getId()