public interface Configurable
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
|Modifier and Type||Method and Description|
Get metadata of displayable/editable configurable parameters.
If an object implementing this interface is a plugin (i.e.
void setConfiguration(UserConfiguration cfg)
If an object implementing this interface is a plugin (i.e. implements also the Plugin interface) and is instantiated through a supported plugin factory, the Plugin Manager calls this method right after an instance of this object is created.
Custom objects which do not already have their configuration parameters in
the default configuration file should take advantage of this method
to store their configuration into the shared User Configuration instance.
It is recommended to call the
method in the end to save the configuration to the hard drive.
Objects wishing to be notified of changes of configuration parameters
should implement the ConfigurationChangeListener interface and register
with the UserConfiguration instance through the
cfg- global shared instance of user configuration preloaded with parameters from the default and user configuration files.