public static enum ReceivedDeletedBlockInfo.BlockStatus extends Enum<ReceivedDeletedBlockInfo.BlockStatus>
| Enum Constant and Description |
|---|
DELETED_BLOCK |
RECEIVED_BLOCK |
RECEIVING_BLOCK |
| Modifier and Type | Method and Description |
|---|---|
static ReceivedDeletedBlockInfo.BlockStatus |
fromCode(int code) |
int |
getCode() |
static ReceivedDeletedBlockInfo.BlockStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReceivedDeletedBlockInfo.BlockStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReceivedDeletedBlockInfo.BlockStatus RECEIVING_BLOCK
public static final ReceivedDeletedBlockInfo.BlockStatus RECEIVED_BLOCK
public static final ReceivedDeletedBlockInfo.BlockStatus DELETED_BLOCK
public static ReceivedDeletedBlockInfo.BlockStatus[] values()
for (ReceivedDeletedBlockInfo.BlockStatus c : ReceivedDeletedBlockInfo.BlockStatus.values()) System.out.println(c);
public static ReceivedDeletedBlockInfo.BlockStatus 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 int getCode()
public static ReceivedDeletedBlockInfo.BlockStatus fromCode(int code)
Copyright © 2022 Apache Software Foundation. All rights reserved.