public enum TrustStrategy extends Enum<TrustStrategy>
| Enum Constant and Description |
|---|
STANDARD |
TRUST_ANY |
TRUST_SELFSIGNED |
| Modifier and Type | Method and Description |
|---|---|
static TrustStrategy |
findByName(String name) |
static TrustStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrustStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrustStrategy STANDARD
public static final TrustStrategy TRUST_SELFSIGNED
public static final TrustStrategy TRUST_ANY
public final String name
public static TrustStrategy[] values()
for (TrustStrategy c : TrustStrategy.values()) System.out.println(c);
public static TrustStrategy 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 static TrustStrategy findByName(String name)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.