public enum TargetReadPreference extends java.lang.Enum<TargetReadPreference>
| Enum Constant and Description |
|---|
AFTER_NEARLINE_POOL |
AFTER_NON_EJECTABLE_TAPE |
AFTER_ONLINE_POOL |
LAST_RESORT |
| Modifier and Type | Method and Description |
|---|---|
static TargetReadPreference |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TargetReadPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetReadPreference AFTER_ONLINE_POOL
public static final TargetReadPreference AFTER_NEARLINE_POOL
public static final TargetReadPreference AFTER_NON_EJECTABLE_TAPE
public static final TargetReadPreference LAST_RESORT
public static TargetReadPreference[] values()
for (TargetReadPreference c : TargetReadPreference.values()) System.out.println(c);
public static TargetReadPreference 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 null