Package madkit.kernel

Interface MadkitOption

All Known Implementing Classes:
Madkit.BooleanOption, Madkit.LevelOption, Madkit.Option

public interface MadkitOption
Every regular MaDKit Options implements this interface.
Since:
MaDKit 5.0.0.10
Version:
0.9
Author:
Fabien Michel
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the option's name.
    Returns the string form of the option as it should be used in a command line, or with the Madkit.main(String[]) method or with Madkit(String...) constructor.
  • Method Details

    • toString

      String toString()
      Returns the string form of the option as it should be used in a command line, or with the Madkit.main(String[]) method or with Madkit(String...) constructor.
      Overrides:
      toString in class Object
      Returns:
      The command line form for this option, with -- in front of the option's name, i.e. --optionName
    • name

      String name()
      Returns the option's name. This is a call to Enum.name()
      Returns:
      the option's name