Package oracle.jdbc.spi
Interface OracleResourceProvider.Parameter
- Enclosing interface:
- OracleResourceProvider
public static interface OracleResourceProvider.Parameter
A parameter that configures an
OracleResourceProvider. Instances of
Parameter may be queried by Oracle JDBC and database tools.-
Method Summary
Modifier and TypeMethodDescriptiondefault CharSequenceReturns the default value of this parameter, if any.default StringReturns a human-readable description of this parameter.default booleanReturnstrueif configuring this parameter is required, orfalseif it is optional.booleanReturnstrueif this parameter may set to a security sensitive value, such as a password.name()Returns the name of this parameter.
-
Method Details
-
name
String name()Returns the name of this parameter. Names are case-insensitive.- Returns:
- The name of this parameter. Not null.
-
isSensitive
boolean isSensitive()Returnstrueif this parameter may set to a security sensitive value, such as a password.- Returns:
trueif this parameter is security sensitive, orfalseif not.
-
description
Returns a human-readable description of this parameter. This method is intended for database tools to display information about this parameter to a user.- Returns:
- A description of this parameter. Not null.
-
isRequired
default boolean isRequired()Returnstrueif configuring this parameter is required, orfalseif it is optional.- Returns:
trueif this is a required parameter, orfalseif not.
-
defaultValue
Returns the default value of this parameter, if any.- Returns:
- The default value of this parameter, or
nullif there is no default value.
-