- All Implemented Interfaces:
- Enclosing interface:
public static enum PackageEvent.Type extends Enum<PackageEvent.Type>Event type
Enum Constant Summary
Enum Constants Enum Constant Description
ASSEMBLEPackage was assembled
CREATEPackage was created
EXTRACTPackage was extracted
EXTRACT_SUB_PACKAGESPackages extracted the subpackages
INSTALLPackage was installed (snapshot + extract)
REMOVEPackage was removed
RENAMEPackage was renamed.
REWRAPPPackage was rewrapped
SNAPSHOTPackage snapshot was taken.
UNINSTALLPackage was uninstalled
UPLOADPackage was uploaded
All Methods Static Methods Concrete Methods Modifier and Type Method Description
valueOf(String name)Returns the enum constant of this type with the specified name.
values()Returns an array containing the constants of this enum type, in the order they are declared.
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Detail
public static final PackageEvent.Type CREATEPackage was created
public static final PackageEvent.Type UPLOADPackage was uploaded
public static final PackageEvent.Type INSTALLPackage was installed (snapshot + extract)
public static final PackageEvent.Type EXTRACTPackage was extracted
public static final PackageEvent.Type UNINSTALLPackage was uninstalled
public static final PackageEvent.Type REMOVEPackage was removed
public static final PackageEvent.Type ASSEMBLEPackage was assembled
public static final PackageEvent.Type REWRAPPPackage was rewrapped
public static final PackageEvent.Type RENAMEPackage was renamed.
PackageEvent.getRelatedIds()will contain the original package id/
public static final PackageEvent.Type EXTRACT_SUB_PACKAGESPackages extracted the subpackages
public static final PackageEvent.Type SNAPSHOTPackage snapshot was taken.
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);
- an array containing the constants of this enum type, in the order they are declared
public static PackageEvent.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.)
name- the name of the enum constant to be returned.
- the enum constant with the specified name
IllegalArgumentException- if this enum type has no constant with the specified name
NullPointerException- if the argument is null