Enum PackageEvent.Type
- All Implemented Interfaces:
Serializable,Comparable<PackageEvent.Type>,java.lang.constant.Constable
- Enclosing interface:
PackageEvent
Event type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPackage was assembledPackage was createdPackage was extractedPackages extracted the subpackagesPackage was installed (snapshot + extract)Package was removedPackage was renamed.Package was rewrappedPackage snapshot was taken.Package was uninstalledPackage was uploaded -
Method Summary
Modifier and TypeMethodDescriptionstatic PackageEvent.TypeReturns 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.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CREATE
Package was created -
UPLOAD
Package was uploaded -
INSTALL
Package was installed (snapshot + extract) -
EXTRACT
Package was extracted -
UNINSTALL
Package was uninstalled -
REMOVE
Package was removed -
ASSEMBLE
Package was assembled -
REWRAPP
Package was rewrapped -
RENAME
Package was renamed.PackageEvent.getRelatedIds()will contain the original package id/ -
EXTRACT_SUB_PACKAGES
Packages extracted the subpackages -
SNAPSHOT
Package snapshot was taken.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-