public enum TrustState extends java.lang.Enum<TrustState>
| Enum Constant and Description |
|---|
trusted
User decided to trust this device.
|
undecided
User has yet to decide, whether the identity is trusted or not.
|
untrusted
User decided NOT to trust this device.
|
| Modifier and Type | Method and Description |
|---|---|
static TrustState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TrustState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrustState undecided
public static final TrustState untrusted
public static final TrustState trusted
public static TrustState[] values()
for (TrustState c : TrustState.values()) System.out.println(c);
public static TrustState 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