public enum StorageLocation extends Enum<StorageLocation>
Enum Constant and Description |
---|
PRIMARY
Primary storage service location.
|
SECONDARY
Secondary storage service location.
|
Modifier and Type | Method and Description |
---|---|
static StorageLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageLocation PRIMARY
public static final StorageLocation SECONDARY
public static StorageLocation[] values()
for (StorageLocation c : StorageLocation.values()) System.out.println(c);
public static StorageLocation 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 © 2019. All rights reserved.