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, run
protected void registerParameters(com.martiansoftware.jsap.JSAP jsap) throws com.martiansoftware.jsap.JSAPException
registerParameters
in class Command
com.martiansoftware.jsap.JSAPException
protected Output run(DokuJClient dokuClient) throws DokuException
run
in class Command
DokuException
protected abstract String query(DokuJClient dokuClient) throws DokuException
DokuException
Copyright © 2019. All rights reserved.