fr.umlv.tatoo.cc.common.main
Interface CommandLineParser.Option

Enclosing class:
CommandLineParser<D>

public static interface CommandLineParser.Option

Option information.


Method Summary
 Command<?> command()
          Returns the command to execute if the option is recognized.
 int numberOfArgument()
          Returns the number of arguments of the option.
 String optionName()
          Returns the name of the option.
 

Method Detail

numberOfArgument

int numberOfArgument()
Returns the number of arguments of the option.

Returns:
the option's number of arguments

command

Command<?> command()
Returns the command to execute if the option is recognized.

Returns:
the associated command

optionName

String optionName()
Returns the name of the option.

Returns:
the name of the option