public enum TrustType extends Enum<TrustType>
| Enum Constant and Description |
|---|
INDIRECT_TRUST |
PEER_TRUST |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static TrustType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrustType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrustType PEER_TRUST
public static final TrustType INDIRECT_TRUST
public static TrustType[] values()
for (TrustType c : TrustType.values()) System.out.println(c);
public static TrustType 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 nullApache Fediz