java.io.Serializable, java.lang.Comparable<ReceivedDeletedBlockInfo.BlockStatus>public static enum ReceivedDeletedBlockInfo.BlockStatus extends java.lang.Enum<ReceivedDeletedBlockInfo.BlockStatus>
| Enum Constant | Description |
|---|---|
DELETED_BLOCK |
|
RECEIVED_BLOCK |
|
RECEIVING_BLOCK |
| Modifier and Type | Method | Description |
|---|---|---|
static ReceivedDeletedBlockInfo.BlockStatus |
fromCode(int code) |
|
int |
getCode() |
|
static ReceivedDeletedBlockInfo.BlockStatus |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
public static ReceivedDeletedBlockInfo.BlockStatus fromCode(int code)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.