public enum ClaimType extends Enum<ClaimType>
Enum Constant and Description |
---|
EXCLUSIVE |
SHARED
allow multiple servers to access a drive simultaneously
|
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static ClaimType |
fromValue(String claim) |
String |
toString() |
String |
value() |
static ClaimType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClaimType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClaimType EXCLUSIVE
public static final ClaimType SHARED
public static final ClaimType UNRECOGNIZED
public static ClaimType[] values()
for (ClaimType c : ClaimType.values()) System.out.println(c);
public static ClaimType 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 String value()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.