public static enum HookOuterClass.Hook.Event extends Enum<HookOuterClass.Hook.Event> implements ProtocolMessageEnum
hapi.release.Hook.Event| Enum Constant and Description |
|---|
POST_DELETE
POST_DELETE = 4; |
POST_INSTALL
POST_INSTALL = 2; |
POST_ROLLBACK
POST_ROLLBACK = 8; |
POST_UPGRADE
POST_UPGRADE = 6; |
PRE_DELETE
PRE_DELETE = 3; |
PRE_INSTALL
PRE_INSTALL = 1; |
PRE_ROLLBACK
PRE_ROLLBACK = 7; |
PRE_UPGRADE
PRE_UPGRADE = 5; |
RELEASE_TEST_FAILURE
RELEASE_TEST_FAILURE = 10; |
RELEASE_TEST_SUCCESS
RELEASE_TEST_SUCCESS = 9; |
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
POST_DELETE_VALUE
POST_DELETE = 4; |
static int |
POST_INSTALL_VALUE
POST_INSTALL = 2; |
static int |
POST_ROLLBACK_VALUE
POST_ROLLBACK = 8; |
static int |
POST_UPGRADE_VALUE
POST_UPGRADE = 6; |
static int |
PRE_DELETE_VALUE
PRE_DELETE = 3; |
static int |
PRE_INSTALL_VALUE
PRE_INSTALL = 1; |
static int |
PRE_ROLLBACK_VALUE
PRE_ROLLBACK = 7; |
static int |
PRE_UPGRADE_VALUE
PRE_UPGRADE = 5; |
static int |
RELEASE_TEST_FAILURE_VALUE
RELEASE_TEST_FAILURE = 10; |
static int |
RELEASE_TEST_SUCCESS_VALUE
RELEASE_TEST_SUCCESS = 9; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
| Modifier and Type | Method and Description |
|---|---|
static HookOuterClass.Hook.Event |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<HookOuterClass.Hook.Event> |
internalGetValueMap() |
static HookOuterClass.Hook.Event |
valueOf(Descriptors.EnumValueDescriptor desc) |
static HookOuterClass.Hook.Event |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HookOuterClass.Hook.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HookOuterClass.Hook.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HookOuterClass.Hook.Event UNKNOWN
UNKNOWN = 0;public static final HookOuterClass.Hook.Event PRE_INSTALL
PRE_INSTALL = 1;public static final HookOuterClass.Hook.Event POST_INSTALL
POST_INSTALL = 2;public static final HookOuterClass.Hook.Event PRE_DELETE
PRE_DELETE = 3;public static final HookOuterClass.Hook.Event POST_DELETE
POST_DELETE = 4;public static final HookOuterClass.Hook.Event PRE_UPGRADE
PRE_UPGRADE = 5;public static final HookOuterClass.Hook.Event POST_UPGRADE
POST_UPGRADE = 6;public static final HookOuterClass.Hook.Event PRE_ROLLBACK
PRE_ROLLBACK = 7;public static final HookOuterClass.Hook.Event POST_ROLLBACK
POST_ROLLBACK = 8;public static final HookOuterClass.Hook.Event RELEASE_TEST_SUCCESS
RELEASE_TEST_SUCCESS = 9;public static final HookOuterClass.Hook.Event RELEASE_TEST_FAILURE
RELEASE_TEST_FAILURE = 10;public static final HookOuterClass.Hook.Event UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int PRE_INSTALL_VALUE
PRE_INSTALL = 1;public static final int POST_INSTALL_VALUE
POST_INSTALL = 2;public static final int PRE_DELETE_VALUE
PRE_DELETE = 3;public static final int POST_DELETE_VALUE
POST_DELETE = 4;public static final int PRE_UPGRADE_VALUE
PRE_UPGRADE = 5;public static final int POST_UPGRADE_VALUE
POST_UPGRADE = 6;public static final int PRE_ROLLBACK_VALUE
PRE_ROLLBACK = 7;public static final int POST_ROLLBACK_VALUE
POST_ROLLBACK = 8;public static final int RELEASE_TEST_SUCCESS_VALUE
RELEASE_TEST_SUCCESS = 9;public static final int RELEASE_TEST_FAILURE_VALUE
RELEASE_TEST_FAILURE = 10;public static HookOuterClass.Hook.Event[] values()
for (HookOuterClass.Hook.Event c : HookOuterClass.Hook.Event.values()) System.out.println(c);
public static HookOuterClass.Hook.Event valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface Internal.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static HookOuterClass.Hook.Event valueOf(int value)
forNumber(int) instead.public static HookOuterClass.Hook.Event forNumber(int value)
public static Internal.EnumLiteMap<HookOuterClass.Hook.Event> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static HookOuterClass.Hook.Event valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2017–2018, microBean. All rights reserved.