fr.umlv.tatoo.cc.common.main
Class AbstractSimpleCommand<B>

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.main.AbstractSimpleCommand<B>
All Implemented Interfaces:
Command<B>

public abstract class AbstractSimpleCommand<B>
extends Object
implements Command<B>


Constructor Summary
protected AbstractSimpleCommand(String optionName)
           
 
Method Summary
 void register(OptionRegistry<? extends B> registry)
          Register all options managed by the current command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.umlv.tatoo.cc.common.main.Command
execute, usage, usageArgumentName
 

Constructor Detail

AbstractSimpleCommand

protected AbstractSimpleCommand(String optionName)
Method Detail

register

public void register(OptionRegistry<? extends B> registry)
Description copied from interface: Command
Register all options managed by the current command.

Specified by:
register in interface Command<B>
Parameters:
registry - the option registry.
See Also:
OptionRegistry