Package com.io7m.quarrel.example
Class ExCat
java.lang.Object
com.io7m.quarrel.example.ExCat
- All Implemented Interfaces:
QCommandOrGroupType,QCommandType
An example command.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmetadata()onExecute(QCommandContextType context) Execute the command.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.io7m.quarrel.core.QCommandOrGroupType
isHidden
-
Constructor Details
-
ExCat
public ExCat()An example command.
-
-
Method Details
-
metadata
- Specified by:
metadatain interfaceQCommandOrGroupType- Returns:
- The descriptive metadata for the command/group
-
onListNamedParameters
- Specified by:
onListNamedParametersin interfaceQCommandType- Returns:
- The named parameters for the command
-
onListPositionalParameters
- Specified by:
onListPositionalParametersin interfaceQCommandType- Returns:
- The positional parameters for the command
-
onExecute
Description copied from interface:QCommandTypeExecute the command.- Specified by:
onExecutein interfaceQCommandType- Parameters:
context- The command context- Returns:
- The result of execution
-