T - the result type of sub-command.public abstract class AbstractSubCommand<T> extends Object implements ISubCommand<T>
| Constructor and Description |
|---|
AbstractSubCommand(ArgumentType... argTypes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ArgumentType[] |
getArgumentTypes()
Get arguments of this sub-command.
|
String |
getName()
Get sub-command name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic AbstractSubCommand(ArgumentType... argTypes)
argTypes - argument types of this sub-command.public String getName()
ISubCommandgetName in interface ISubCommand<T>public ArgumentType[] getArgumentTypes()
ISubCommandgetArgumentTypes in interface ISubCommand<T>Copyright © 2016. All rights reserved.