Package org.utplsql.api.compatibility
Enum OptionalFeatures
- java.lang.Object
-
- java.lang.Enum<OptionalFeatures>
-
- org.utplsql.api.compatibility.OptionalFeatures
-
- All Implemented Interfaces:
Serializable,Comparable<OptionalFeatures>
public enum OptionalFeatures extends Enum<OptionalFeatures>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_CHARACTER_SETCUSTOM_REPORTERSEXPRFAIL_ON_ERRORFRAMEWORK_COMPATIBILITY_CHECKRANDOM_EXECUTION_ORDERTAGS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VersiongetMaxVersion()VersiongetMinVersion()booleanisAvailableFor(Connection conn)booleanisAvailableFor(Version version)static OptionalFeaturesvalueOf(String name)Returns the enum constant of this type with the specified name.static OptionalFeatures[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAIL_ON_ERROR
public static final OptionalFeatures FAIL_ON_ERROR
-
FRAMEWORK_COMPATIBILITY_CHECK
public static final OptionalFeatures FRAMEWORK_COMPATIBILITY_CHECK
-
CUSTOM_REPORTERS
public static final OptionalFeatures CUSTOM_REPORTERS
-
CLIENT_CHARACTER_SET
public static final OptionalFeatures CLIENT_CHARACTER_SET
-
RANDOM_EXECUTION_ORDER
public static final OptionalFeatures RANDOM_EXECUTION_ORDER
-
TAGS
public static final OptionalFeatures TAGS
-
EXPR
public static final OptionalFeatures EXPR
-
-
Method Detail
-
values
public static OptionalFeatures[] 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 (OptionalFeatures c : OptionalFeatures.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OptionalFeatures 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
-
isAvailableFor
public boolean isAvailableFor(Version version)
-
isAvailableFor
public boolean isAvailableFor(Connection conn) throws SQLException
- Throws:
SQLException
-
getMinVersion
public Version getMinVersion()
-
getMaxVersion
public Version getMaxVersion()
-
-