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 |
getApiKey() |
ParametersDescription |
getParametersDescription()
Gets the description of the parameters.
|
String |
getServer() |
int |
getTimeout() |
void |
reset()
Reset this parameters object to its default values.
|
void |
setApiKey(String apiKey) |
void |
setServer(String server) |
void |
setTimeout(int timeout) |
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toStringpublic Parameters()
public Parameters(String initialData)
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 String getServer()
public void setServer(String server)
public String getApiKey()
public void setApiKey(String apiKey)
public int getTimeout()
public void setTimeout(int timeout)
public ParametersDescription getParametersDescription()
IParametersgetParametersDescription in interface IParametersgetParametersDescription in class BaseParameterspublic EditorDescription createEditorDescription(ParametersDescription paramsDesc)
createEditorDescription in interface IEditorDescriptionProviderCopyright © 2021. All rights reserved.