public interface ISettingDescription
Modifier and Type | Method and Description |
---|---|
ISettingUIDescription |
setDefaultValue(java.lang.Object value)
Sets the initial default value for this setting.
|
ISettingUIDescription |
setDescription(java.lang.String value)
Sets the description for this setting.
|
ISettingUIDescription |
setIsEditable(boolean value)
Sets the 'editable' flag for this setting.
|
ISettingUIDescription |
setPossibleValues(java.lang.String[] values)
Provides a list of strings that will be used to restrict the input acceptable by this setting.
|
ISettingUIDescription |
setRequired(boolean value)
Sets the 'required' flag for this setting.
|
ISettingUIDescription setRequired(boolean value) throws java.lang.Exception
value
- true to mark this setting as required, false otherwise (Default: false)ISettingDescription
java.lang.Exception
ISettingUIDescription setDescription(java.lang.String value) throws java.lang.Exception
value
- the description associated with this settingISettingDescription
java.lang.Exception
ISettingUIDescription setIsEditable(boolean value) throws java.lang.Exception
value
- true to mark this setting as editable, false otherwise. (Default: true)ISettingDescription
java.lang.Exception
ISettingUIDescription setPossibleValues(java.lang.String[] values) throws java.lang.Exception
values
- List of possible values for this settingISettingDescription
java.lang.Exception
ISettingUIDescription setDefaultValue(java.lang.Object value) throws java.lang.Exception
value
- The initial default value for the settingISettingDescription
java.lang.Exception