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

- ## Method Summary

  Modifier and Type
  Method
  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(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