Package io.helidon.integrations.neo4j
Enum Neo4j.Builder.TrustStrategy
- java.lang.Object
-
- java.lang.Enum<Neo4j.Builder.TrustStrategy>
-
- io.helidon.integrations.neo4j.Neo4j.Builder.TrustStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<Neo4j.Builder.TrustStrategy>
- Enclosing class:
- Neo4j.Builder
public static enum Neo4j.Builder.TrustStrategy extends Enum<Neo4j.Builder.TrustStrategy>
Security trustStrategy.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TRUST_ALL_CERTIFICATES
Trust all.TRUST_CUSTOM_CA_SIGNED_CERTIFICATES
Trust custom certificates.TRUST_SYSTEM_CA_SIGNED_CERTIFICATES
Trust system CA.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Neo4j.Builder.TrustStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static Neo4j.Builder.TrustStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRUST_ALL_CERTIFICATES
public static final Neo4j.Builder.TrustStrategy TRUST_ALL_CERTIFICATES
Trust all.
-
TRUST_CUSTOM_CA_SIGNED_CERTIFICATES
public static final Neo4j.Builder.TrustStrategy TRUST_CUSTOM_CA_SIGNED_CERTIFICATES
Trust custom certificates.
-
TRUST_SYSTEM_CA_SIGNED_CERTIFICATES
public static final Neo4j.Builder.TrustStrategy TRUST_SYSTEM_CA_SIGNED_CERTIFICATES
Trust system CA.
-
-
Method Detail
-
values
public static Neo4j.Builder.TrustStrategy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Neo4j.Builder.TrustStrategy c : Neo4j.Builder.TrustStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Neo4j.Builder.TrustStrategy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-