public class SchemaSetting extends java.lang.Object implements Setting
Setting.DataType| Modifier and Type | Field and Description |
|---|---|
protected EditableConfiguration |
owner |
| Constructor and Description |
|---|
SchemaSetting(java.lang.String fullName,
java.lang.String nameToShow,
boolean requiresRestart) |
SchemaSetting(java.lang.String fullName,
java.lang.String nameToShow,
java.lang.String tooltip,
boolean requiresRestart) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(java.lang.Object input)
Applies the given input to this setting.
|
java.lang.Object |
getCurrentValue()
Gets the initial, current value of this setting.
|
Setting.DataType |
getDataType()
The data type which this setting represents.
|
java.lang.String |
getId()
The ID of this setting to uniquely identify the setting.
|
java.lang.String |
getName()
Gets the name to display this setting with.
|
java.lang.String |
getTooltip()
Gets the tooltip to offer more information for this setting.
|
boolean |
requiresRestart()
Returns whether changing this setting requires a restart to be performed, in order for the setting to become active.
|
boolean |
validate(java.lang.Object input) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSelectionprotected final EditableConfiguration owner
public SchemaSetting(java.lang.String fullName,
java.lang.String nameToShow,
boolean requiresRestart)
public SchemaSetting(java.lang.String fullName,
java.lang.String nameToShow,
java.lang.String tooltip,
boolean requiresRestart)
public java.lang.String getId()
Settingpublic Setting.DataType getDataType()
SettinggetDataType in interface Settingpublic java.lang.Object getCurrentValue()
SettinggetCurrentValue in interface Settingpublic java.lang.String getName()
Settingpublic java.lang.String getTooltip()
SettinggetTooltip in interface Settingpublic void apply(java.lang.Object input)
Settingpublic boolean validate(java.lang.Object input)
public boolean requiresRestart()
SettingrequiresRestart in interface Setting