Package oracle.dbtools.plugin.api.conf
Interface Configuration
public interface Configuration
Represents a set of configuration properties. Each configuration property is
identified by a unique string.
- Author:
- cdivilly
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGet a property valuedefault StringGet a property valuegetPassword(String name) Retrieves an encrypted configuration property (typically passwords).inthashCode()Enumerates the name of each defined configuration property.
-
Method Details
-
equals
-
get
Get a property value- Parameters:
name- The name of the property- Returns:
- The value or null if the property is not defined
-
get
Get a property value- Parameters:
name- The name of the propertydefaultValue- a default value to return if the property is not defined- Returns:
- The value if it exists, or the value of the defaultValue parameter if it does not exist.
-
getPassword
Retrieves an encrypted configuration property (typically passwords).- Parameters:
name- Name of the configuration property- Returns:
- the decrypted value or null if the value is not defined.
-
hashCode
int hashCode() -
propertyNames
Enumerates the name of each defined configuration property.- Returns:
- Set of property names
-