Class QCommandXS
java.lang.Object
com.io7m.quarrel.ext.xstructural.QCommandXS
- All Implemented Interfaces:
QCommandOrGroupType, QCommandType
A command that produces an xstructural documentation template.
-
Constructor Summary
ConstructorsConstructorDescriptionQCommandXS(String inName, boolean inHidden) A command that produces an xstructural documentation template. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisHidden()metadata()onExecute(QCommandContextType context) Execute the command.
-
Constructor Details
-
QCommandXS
A command that produces an xstructural documentation template.- Parameters:
inName- The command nameinHidden-trueif the command should be hidden
-
-
Method Details
-
isHidden
public boolean isHidden()- Specified by:
isHiddenin interfaceQCommandOrGroupType- Returns:
trueif this command should be hidden in listings
-
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
- Throws:
Exception- On errors
-