public static enum Storage.ProtectionMode extends Enum<Storage.ProtectionMode>
| Enum Constant and Description |
|---|
MASTER_PUBLIC_KEY |
NO_MASTER |
| Modifier and Type | Method and Description |
|---|---|
static Storage.ProtectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Storage.ProtectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storage.ProtectionMode NO_MASTER
public static final Storage.ProtectionMode MASTER_PUBLIC_KEY
public static Storage.ProtectionMode[] values()
for (Storage.ProtectionMode c : Storage.ProtectionMode.values()) System.out.println(c);
public static Storage.ProtectionMode 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 © 2011. All Rights Reserved.