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, wait
Methods inherited from interface com.io7m.quarrel.core.QCommandOrGroupType
isHidden
-
Constructor Details
-
ExCat
public ExCat()An example command.
-
-
Method Details
-
metadata
- Specified by:
metadata
in interfaceQCommandOrGroupType
- Returns:
- The descriptive metadata for the command/group
-
onListNamedParameters
- Specified by:
onListNamedParameters
in interfaceQCommandType
- Returns:
- The named parameters for the command
-
onListPositionalParameters
- Specified by:
onListPositionalParameters
in interfaceQCommandType
- Returns:
- The positional parameters for the command
-
onExecute
Description copied from interface:QCommandType
Execute the command.- Specified by:
onExecute
in interfaceQCommandType
- Parameters:
context
- The command context- Returns:
- The result of execution
-