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:
    `Madkit.Option`, `Madkit.LevelOption`, `Madkit.BooleanOption`, `AbstractAgent.getMadkitProperty(String)`, `AbstractAgent.getMadkitProperty(Enum)`, `AbstractAgent.setMadkitProperty(String, String)`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `name()` Returns the option's name.
    `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.Madkit(String...)` constructor.

- - ### Method Detail

    - #### 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.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

Fabien Michel, Olivier Gutknecht, Jacques Ferber - February 12 2016