@ThreadSafe public enum PreconditionMessage extends Enum<PreconditionMessage>
Enum Constant and Description |
---|
BLOCK_WRITE_LOCATION_POLICY_UNSPECIFIED |
EMPTY_FILE_INFO_LIST_FOR_PERMISSION_CHECK |
ERR_BUFFER_STATE |
ERR_READ_BUFFER_NULL |
ERR_SEEK_NEGATIVE |
ERR_SEEK_PAST_END_OF_FILE |
ERR_WRITE_BUFFER_NULL |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static PreconditionMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreconditionMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreconditionMessage EMPTY_FILE_INFO_LIST_FOR_PERMISSION_CHECK
public static final PreconditionMessage ERR_BUFFER_STATE
public static final PreconditionMessage ERR_READ_BUFFER_NULL
public static final PreconditionMessage ERR_SEEK_NEGATIVE
public static final PreconditionMessage ERR_SEEK_PAST_END_OF_FILE
public static final PreconditionMessage ERR_WRITE_BUFFER_NULL
public static final PreconditionMessage BLOCK_WRITE_LOCATION_POLICY_UNSPECIFIED
public static PreconditionMessage[] values()
for (PreconditionMessage c : PreconditionMessage.values()) System.out.println(c);
public static PreconditionMessage 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 String toString()
toString
in class Enum<PreconditionMessage>
Copyright © 2023. All Rights Reserved.