Enum OracleNoSQLJCAConnectionSpec.ServiceType
- java.lang.Object
-
- java.lang.Enum<OracleNoSQLJCAConnectionSpec.ServiceType>
-
- org.eclipse.persistence.internal.nosql.adapters.sdk.OracleNoSQLJCAConnectionSpec.ServiceType
-
- All Implemented Interfaces:
Serializable,Comparable<OracleNoSQLJCAConnectionSpec.ServiceType>
- Enclosing class:
- OracleNoSQLJCAConnectionSpec
public static enum OracleNoSQLJCAConnectionSpec.ServiceType extends Enum<OracleNoSQLJCAConnectionSpec.ServiceType>
NoSQL service type.- cloud - Cloud service
- onprem - On-premise proxy and Oracle NoSQL Database instance
- cloudsim - Cloud simulator (for development)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOUDCLOUD_SIMULATORON_PREMISE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<OracleNoSQLJCAConnectionSpec.ServiceType>get(String serviceName)StringgetServiceName()static OracleNoSQLJCAConnectionSpec.ServiceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OracleNoSQLJCAConnectionSpec.ServiceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOUD
public static final OracleNoSQLJCAConnectionSpec.ServiceType CLOUD
-
ON_PREMISE
public static final OracleNoSQLJCAConnectionSpec.ServiceType ON_PREMISE
-
CLOUD_SIMULATOR
public static final OracleNoSQLJCAConnectionSpec.ServiceType CLOUD_SIMULATOR
-
-
Method Detail
-
values
public static OracleNoSQLJCAConnectionSpec.ServiceType[] 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 (OracleNoSQLJCAConnectionSpec.ServiceType c : OracleNoSQLJCAConnectionSpec.ServiceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OracleNoSQLJCAConnectionSpec.ServiceType 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
-
getServiceName
public String getServiceName()
-
get
public static Optional<OracleNoSQLJCAConnectionSpec.ServiceType> get(String serviceName)
-
-