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, wait
getSelection
protected 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()
Setting
public Setting.DataType getDataType()
Setting
getDataType
in interface Setting
public java.lang.Object getCurrentValue()
Setting
getCurrentValue
in interface Setting
public java.lang.String getName()
Setting
public java.lang.String getTooltip()
Setting
getTooltip
in interface Setting
public void apply(java.lang.Object input)
Setting
public boolean validate(java.lang.Object input)
public boolean requiresRestart()
Setting
requiresRestart
in interface Setting