Package org.xwiki.extension.job.plan
Enum ExtensionPlanAction.Action
- java.lang.Object
-
- java.lang.Enum<ExtensionPlanAction.Action>
-
- org.xwiki.extension.job.plan.ExtensionPlanAction.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<ExtensionPlanAction.Action>
- Enclosing interface:
- ExtensionPlanAction
public static enum ExtensionPlanAction.Action extends Enum<ExtensionPlanAction.Action>
The action to execute.- Version:
- $Id: cf0e598a8b8a732f44705a887916cfcf67e0f532 $
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExtensionPlanAction.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExtensionPlanAction.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ExtensionPlanAction.Action NONE
Nothing to do. Just here for information as why nothing is done here.
-
INSTALL
public static final ExtensionPlanAction.Action INSTALL
Install the extension.
-
UPGRADE
public static final ExtensionPlanAction.Action UPGRADE
Upgrade the extension.
-
DOWNGRADE
public static final ExtensionPlanAction.Action DOWNGRADE
Downgrade the extension.
-
UNINSTALL
public static final ExtensionPlanAction.Action UNINSTALL
Uninstall the extension.
-
REPAIR
public static final ExtensionPlanAction.Action REPAIR
Repair the extension.Mostly mean mark the extension as valid.
- Since:
- 8.1M1
-
-
Method Detail
-
values
public static ExtensionPlanAction.Action[] 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 (ExtensionPlanAction.Action c : ExtensionPlanAction.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExtensionPlanAction.Action 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 nameNullPointerException
- if the argument is null
-
-