public enum SecurityState extends java.lang.Enum<SecurityState>
Enum Constant and Description |
---|
info |
insecure |
neutral |
secure |
unknown |
Modifier and Type | Method and Description |
---|---|
static SecurityState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecurityState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityState unknown
public static final SecurityState neutral
public static final SecurityState insecure
public static final SecurityState secure
public static final SecurityState info
public static SecurityState[] values()
for (SecurityState c : SecurityState.values()) System.out.println(c);
public static SecurityState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null