public interface ExtendedParamsObject
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Modifier and Type | Method and Description |
---|---|
String |
getLongDescription()
Get long description of the object - purpose, usage, parameter syntax etc.
|
List<String> |
getParameters()
Get the list of parameter names supported by the object implementing this
interface.
|
List |
getParameterValues(String parameterName)
Get the list of acceptable values of a particular parameter (if known).
|
String |
getShortDescription()
Get short description which describes in a few words purpose and role of
the object.
|
List<Preference> |
getVisualParameters()
Get the list of supported parameters encapsulated in
Preference
instances. |
void |
setParameters(Map<String,String> paramsAndValues)
Set parameters and their values in the object.
|
List<String> getParameters()
List getParameterValues(String parameterName)
parameterName
- parameter namevoid setParameters(Map<String,String> paramsAndValues)
CaseTolerantHashMap
class);paramsAndValues
- map of parameters and their values.List<Preference> getVisualParameters()
Preference
instances. It allows to specify a larger set of parameter properties such as
parameter name ("configuration key" in the Preferences object), label (short description),
description, expected value type and optional value limits and relationships with other
parameters. This allows the GUI to build and display the parameters in form of GUI components
in command property dialogs and validate the values entered by users..Preference
instances.String getShortDescription()
String getLongDescription()
CustomHyperlinkListener
. This is optional
and the method may return null. The long description is typically
displayed by the GUI when user selects to view details of the object.