Enum PackageTask.Type
- java.lang.Object
-
- java.lang.Enum<PackageTask.Type>
-
- org.apache.jackrabbit.vault.packaging.registry.PackageTask.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<PackageTask.Type>
- Enclosing interface:
- PackageTask
public static enum PackageTask.Type extends Enum<PackageTask.Type>
Task type
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PackageTask.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static PackageTask.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTALL
public static final PackageTask.Type INSTALL
Package installation
-
UNINSTALL
public static final PackageTask.Type UNINSTALL
Package uninstallation
-
REMOVE
public static final PackageTask.Type REMOVE
Package removal
-
EXTRACT
public static final PackageTask.Type EXTRACT
Package extraction
-
-
Method Detail
-
values
public static PackageTask.Type[] 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 (PackageTask.Type c : PackageTask.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PackageTask.Type 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
-
-