Package com.install4j.api.beaninfo
Enum Class ActionElevationType
- All Implemented Interfaces:
Serializable
,Comparable<ActionElevationType>
,Constable
Enumeration class for all possible elevation strategies for actions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIf elevated privileges are available, the action will be run in the elevated helper process.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.The action will not be elevated, it will run in-process as the original user. -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
Convert to an int value.static ActionElevationType
Returns the enum constant of this class with the specified name.static ActionElevationType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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. -
ELEVATE
If elevated privileges are available, the action will be run in the elevated helper process.
-
-
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
-
getId
public int getId()Convert to an int value.- Returns:
- the int value
-