public static enum StorageService.RegionStatus extends Enum<StorageService.RegionStatus>
Enum Constant and Description |
---|
Available |
Unavailable |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static StorageService.RegionStatus |
fromValue(String text) |
static StorageService.RegionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageService.RegionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageService.RegionStatus Available
public static final StorageService.RegionStatus Unavailable
public static final StorageService.RegionStatus UNRECOGNIZED
public static StorageService.RegionStatus[] values()
for (StorageService.RegionStatus c : StorageService.RegionStatus.values()) System.out.println(c);
public static StorageService.RegionStatus 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 StorageService.RegionStatus fromValue(String text)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.