public static enum HookOuterClass.Hook.Event extends Enum<HookOuterClass.Hook.Event> implements com.google.protobuf.ProtocolMessageEnum
hapi.release.Hook.Event| 枚举常量和说明 |
|---|
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 |
| 限定符和类型 | 字段和说明 |
|---|---|
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; |
| 限定符和类型 | 方法和说明 |
|---|---|
static HookOuterClass.Hook.Event |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<HookOuterClass.Hook.Event> |
internalGetValueMap() |
static HookOuterClass.Hook.Event |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HookOuterClass.Hook.Event |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static HookOuterClass.Hook.Event |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static HookOuterClass.Hook.Event[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static HookOuterClass.Hook.Event valueOf(int value)
forNumber(int) instead.public static HookOuterClass.Hook.Event forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HookOuterClass.Hook.Event> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static HookOuterClass.Hook.Event valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022. All rights reserved.