jeters.core
Interface Configurable

All Known Subinterfaces:
Configurable_UIAccess
All Known Implementing Classes:
ComillaReplacer, Core, DefaultCUI, DefaultGUI, RegExReplacer, RegExReplacer_User, WikiIO

public interface Configurable

Components using this optional interface will be able to store settings.


Method Summary
 NamedDataSet getConfiguration()
          this method is called to retrieve the current configuration for this component.
 void setConfiguration(NamedDataSet configurationSet)
          sets the configuration for this object.
 

Method Detail

setConfiguration

void setConfiguration(NamedDataSet configurationSet)
sets the configuration for this object. If setConfiguration is not called, the component must work properly nevertheless, using default settings.

Parameters:
configurationSet - the configuration data to be used by the component if null, the object has to use default settings

getConfiguration

NamedDataSet getConfiguration()
this method is called to retrieve the current configuration for this component. It will e.g. be used for generating the configuration file.

Returns:
configuration data, null is allowed (doesn't make much sense however)