public abstract class AbstractCommand extends java.lang.Object implements Command
Constructor and Description |
---|
AbstractCommand(java.lang.String name,
CommandType commandType,
java.lang.String shortDescription,
java.lang.String detailedDescription) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDetailedDescription() |
java.lang.String |
getName() |
java.lang.String |
getShortDescription() |
CommandType |
getType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDetailedHelp, getShortHelp, isInternal, run
public AbstractCommand(java.lang.String name, CommandType commandType, java.lang.String shortDescription, java.lang.String detailedDescription)
public CommandType getType()
public java.lang.String getShortDescription()
getShortDescription
in interface Command
public java.lang.String getDetailedDescription()
getDetailedDescription
in interface Command