TrustPolicyType Class

public final class TrustPolicyType
extends ExpandableStringEnum<TrustPolicyType>

The type of trust policy.

Field Summary

Modifier and Type Field and Description
static final TrustPolicyType NOTARY

Static value Notary for TrustPolicyType.

Constructor Summary

Constructor Description
TrustPolicyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TrustPolicyType value.

Method Summary

Modifier and Type Method and Description
static TrustPolicyType fromString(String name)

Creates or finds a TrustPolicyType from its string representation.

static Collection<TrustPolicyType> values()

Gets known TrustPolicyType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NOTARY

public static final TrustPolicyType NOTARY

Static value Notary for TrustPolicyType.

Constructor Details

TrustPolicyType

@Deprecated
public TrustPolicyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TrustPolicyType value.

Method Details

fromString

public static TrustPolicyType fromString(String name)

Creates or finds a TrustPolicyType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TrustPolicyType.

values

public static Collection values()

Gets known TrustPolicyType values.

Returns:

known TrustPolicyType values.

Applies to