public enum BlockListingFilter extends Enum<BlockListingFilter>
Enum Constant and Description |
---|
ALL
List both committed and uncommitted blocks.
|
COMMITTED
List only committed blocks.
|
UNCOMMITTED
List only uncommitted blocks.
|
Modifier and Type | Method and Description |
---|---|
static BlockListingFilter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockListingFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockListingFilter COMMITTED
public static final BlockListingFilter UNCOMMITTED
public static final BlockListingFilter ALL
public static BlockListingFilter[] values()
for (BlockListingFilter c : BlockListingFilter.values()) System.out.println(c);
public static BlockListingFilter 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 nullCopyright © 2018. All Rights Reserved.