Enum PackageEvent.Type
- java.lang.Object
-
- java.lang.Enum<PackageEvent.Type>
-
- org.apache.jackrabbit.vault.packaging.events.PackageEvent.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PackageEvent.Type>
- Enclosing interface:
- PackageEvent
public static enum PackageEvent.Type extends java.lang.Enum<PackageEvent.Type>
Event type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSEMBLE
Package was assembledCREATE
Package was createdEXTRACT
Package was extractedEXTRACT_SUB_PACKAGES
Packages extracted the subpackagesINSTALL
Package was installed (snapshot + extract)REMOVE
Package was removedRENAME
Package was renamed.REWRAPP
Package was rewrappedSNAPSHOT
Package snapshot was taken.UNINSTALL
Package was uninstalledUPLOAD
Package was uploaded
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PackageEvent.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PackageEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final PackageEvent.Type CREATE
Package was created
-
UPLOAD
public static final PackageEvent.Type UPLOAD
Package was uploaded
-
INSTALL
public static final PackageEvent.Type INSTALL
Package was installed (snapshot + extract)
-
EXTRACT
public static final PackageEvent.Type EXTRACT
Package was extracted
-
UNINSTALL
public static final PackageEvent.Type UNINSTALL
Package was uninstalled
-
REMOVE
public static final PackageEvent.Type REMOVE
Package was removed
-
ASSEMBLE
public static final PackageEvent.Type ASSEMBLE
Package was assembled
-
REWRAPP
public static final PackageEvent.Type REWRAPP
Package was rewrapped
-
RENAME
public static final PackageEvent.Type RENAME
Package was renamed.PackageEvent.getRelatedIds()
will contain the original package id/
-
EXTRACT_SUB_PACKAGES
public static final PackageEvent.Type EXTRACT_SUB_PACKAGES
Packages extracted the subpackages
-
SNAPSHOT
public static final PackageEvent.Type SNAPSHOT
Package snapshot was taken.
-
-
Method Detail
-
values
public static PackageEvent.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 (PackageEvent.Type c : PackageEvent.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 PackageEvent.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-