Package oracle.dbtools.plugin.api.conf
Class ConfigurationSetting.Builder
java.lang.Object
oracle.dbtools.plugin.api.conf.ConfigurationSetting.Builder
- Enclosing class:
- ConfigurationSetting
Builds
ConfigurationSetting instances- Author:
- cdivilly
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build theConfigurationSettinginstancedefaultValue<wbr>(Object defaultValue)Specify the default value of this setting, if no explicit value is found in theConfiguration.description<wbr>(Translatable description)global<wbr>(boolean global)Specify whether this is a global setting or notoverride<wbr>(boolean override)Specify whether this setting can be overridden at runtime.secure<wbr>(boolean secure)Specify whether this setting contains sensitive data such as passwords.status<wbr>(ConfigurationStatus status)Specify the status of the configuration settingSpecify the data type of the setting
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Build theConfigurationSettinginstance- Returns:
ConfigurationSettinginstance
-
defaultValue
Specify the default value of this setting, if no explicit value is found in theConfiguration.- Parameters:
defaultValue- The default value to use for the setting, if no explicit value is provided in the configuration- Returns:
- self
-
description
-
global
Specify whether this is a global setting or not- Parameters:
global- true if the setting is global, false otherwise- Returns:
- self
-
override
Specify whether this setting can be overridden at runtime.- Parameters:
override- true if this setting can be overridden, false otherwise- Returns:
- self
-
secure
Specify whether this setting contains sensitive data such as passwords.- Parameters:
secure- true if this setting is sensitive, false otherwise- Returns:
- self
-
status
Specify the status of the configuration setting- Parameters:
status- The status of the configuration setting- Returns:
-
type
Specify the data type of the setting- Parameters:
type- The data type- Returns:
- self
-