public abstract class SimpleCommand extends Command
| Constructor and Description |
|---|
SimpleCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
query(DokuJClient dokuClient) |
protected void |
registerParameters(com.martiansoftware.jsap.JSAP jsap) |
protected Output |
run(DokuJClient dokuClient) |
addLongFormatSwitch, addPageIdOption, getUsage, parseArguments, runprotected void registerParameters(com.martiansoftware.jsap.JSAP jsap)
throws com.martiansoftware.jsap.JSAPException
registerParameters in class Commandcom.martiansoftware.jsap.JSAPExceptionprotected Output run(DokuJClient dokuClient) throws DokuException
run in class CommandDokuExceptionprotected abstract String query(DokuJClient dokuClient) throws DokuException
DokuExceptionCopyright © 2017. All rights reserved.