public enum ReadOnlyOption extends Enum<ReadOnlyOption>
| Enum Constant and Description |
|---|
ReadOnlyLeaseBased |
ReadOnlySafe |
| Modifier and Type | Method and Description |
|---|---|
static EnumOutter.ReadOnlyType |
convertMsgType(ReadOnlyOption option) |
static ReadOnlyOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadOnlyOption |
valueOfWithDefault(EnumOutter.ReadOnlyType readOnlyType,
ReadOnlyOption defaultOption) |
static ReadOnlyOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadOnlyOption ReadOnlySafe
public static final ReadOnlyOption ReadOnlyLeaseBased
public static ReadOnlyOption[] values()
for (ReadOnlyOption c : ReadOnlyOption.values()) System.out.println(c);
public static ReadOnlyOption 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 static EnumOutter.ReadOnlyType convertMsgType(ReadOnlyOption option)
public static ReadOnlyOption valueOfWithDefault(EnumOutter.ReadOnlyType readOnlyType, ReadOnlyOption defaultOption)
Copyright © 2024. All rights reserved.