Package adams.core
Interface OptionalHandler
-
- All Superinterfaces:
Destroyable,OptionHandler
public interface OptionalHandler extends OptionHandler
Interface for classes that can be enabled/disabled.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringenabledTipText()Returns the tip text for this property.booleangetEnabled()Returns whether the generator is enabled, ie instantiating the interceptor.voidsetEnabled(boolean value)Sets whether the generator is enabled, ie instantiating the interceptor.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
setEnabled
void setEnabled(boolean value)
Sets whether the generator is enabled, ie instantiating the interceptor.- Parameters:
value- true if enabled
-
getEnabled
boolean getEnabled()
Returns whether the generator is enabled, ie instantiating the interceptor.- Returns:
- true if enabled
-
enabledTipText
String enabledTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-