Package com.solibri.smc.api.settings
Class PasswordSetting
java.lang.Object
com.solibri.smc.api.settings.StringSetting
com.solibri.smc.api.settings.PasswordSetting
public abstract class PasswordSetting extends StringSetting
The intended base class for String valued custom settings that are passwords or other secrets. The only different
between this and
StringSetting
is that the value of this setting is not visible in the UI.
PasswordSetting must always be single-lined.- Since:
- 9.10.8
-
Constructor Summary
Constructors Constructor Description PasswordSetting()
-
Method Summary
Modifier and Type Method Description boolean
isMultiLine()
Returns whether this string setting is multilined or not.Methods inherited from class com.solibri.smc.api.settings.StringSetting
getValue, invalidReason, setValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.solibri.smc.api.settings.Setting
getDefaultValue, getDescription, getName, getUniqueId
-
Constructor Details
-
PasswordSetting
public PasswordSetting()
-
-
Method Details
-
isMultiLine
public final boolean isMultiLine()Returns whether this string setting is multilined or not. Password settings are always singlelined.- Overrides:
isMultiLine
in classStringSetting
- Returns:
- false
- Since:
- 9.10.8
-