@InterfaceAudience.Public public enum SecurityCapability extends Enum<SecurityCapability>
Enum Constant and Description |
---|
AUTHORIZATION |
CELL_AUTHORIZATION |
CELL_VISIBILITY |
SECURE_AUTHENTICATION |
SIMPLE_AUTHENTICATION |
Modifier and Type | Field and Description |
---|---|
private int |
value |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
int |
getValue() |
static SecurityCapability |
valueOf(int value) |
static SecurityCapability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityCapability SIMPLE_AUTHENTICATION
public static final SecurityCapability SECURE_AUTHENTICATION
public static final SecurityCapability AUTHORIZATION
public static final SecurityCapability CELL_AUTHORIZATION
public static final SecurityCapability CELL_VISIBILITY
private final int value
public static SecurityCapability[] values()
for (SecurityCapability c : SecurityCapability.values()) System.out.println(c);
public static SecurityCapability 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 int getValue()
public static SecurityCapability valueOf(int value)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.