public class Parameters extends StringParameters implements IEditorDescriptionProvider
bufferpath| Constructor and Description |
|---|
Parameters() |
Parameters(String initialData) |
| Modifier and Type | Method and Description |
|---|---|
EditorDescription |
createEditorDescription(ParametersDescription paramsDesc) |
String |
getDbDirectory() |
String |
getHost() |
ParametersDescription |
getParametersDescription()
Gets the description of the parameters.
|
boolean |
getUseServer() |
void |
reset()
Reset this parameters object to its default values.
|
void |
setDbDirectory(String dbDirectory) |
void |
setHost(String host) |
void |
setUseServer(boolean useServer) |
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toStringpublic Parameters()
public Parameters(String initialData)
public boolean getUseServer()
public void setUseServer(boolean useServer)
public String getHost()
public void setHost(String host)
public String getDbDirectory()
public void setDbDirectory(String dbDirectory)
public void reset()
StringParameters
Subclasses should override this method to set any initial
values and instantiate any objects that require allocation. It
is recommended that subclasses also call super.reset()
in the override to ensure that the buffer is empty.
reset in interface IParametersreset in class StringParameterspublic ParametersDescription getParametersDescription()
IParametersgetParametersDescription in interface IParametersgetParametersDescription in class BaseParameterspublic EditorDescription createEditorDescription(ParametersDescription paramsDesc)
createEditorDescription in interface IEditorDescriptionProviderCopyright © 2021. All rights reserved.