Interface OptionConsumerWithOptionHandling<C,​V>

  • Type Parameters:
    C - the type of data to consume
    V - the type of data used for values
    All Superinterfaces:
    CleanUpHandler, Destroyable, OptionConsumer<C,​V>, OptionHandler

    public interface OptionConsumerWithOptionHandling<C,​V>
    extends OptionConsumer<C,​V>, OptionHandler
    Interface for option consumers that offer option handling.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • defineOptions

        void defineOptions()
        Adds options to the internal list of options.

        Every subclass needs to add the necessary Option objects to its internal List with Option objects.
        Specified by:
        defineOptions in interface OptionHandler
      • getOptionManager

        OptionManager getOptionManager()
        Returns the option manager.

        Only needs to be implemented in the superclass, which declares the OptionManager object managing all the Option objects.
        Specified by:
        getOptionManager in interface OptionHandler
        Returns:
        the internal option list