Package dw.cli.commands
Class AllPageGetter
- java.lang.Object
-
- dw.cli.Command
-
- dw.cli.commands.ItemListToStringCommand<Page>
-
- dw.cli.commands.AllPageGetter
-
public class AllPageGetter extends ItemListToStringCommand<Page>
-
-
Constructor Summary
Constructors Constructor Description AllPageGetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringitemToString(Page page)protected java.util.List<Page>query(DokuJClient dokuClient)protected voidregisterParameters(com.martiansoftware.jsap.JSAP jsap)-
Methods inherited from class dw.cli.commands.ItemListToStringCommand
run
-
Methods inherited from class dw.cli.Command
addLongFormatSwitch, addPageIdOption, getUsage, parseArguments, run
-
-
-
-
Method Detail
-
registerParameters
protected void registerParameters(com.martiansoftware.jsap.JSAP jsap) throws com.martiansoftware.jsap.JSAPException- Specified by:
registerParametersin classCommand- Throws:
com.martiansoftware.jsap.JSAPException
-
query
protected java.util.List<Page> query(DokuJClient dokuClient) throws DokuException
- Specified by:
queryin classItemListToStringCommand<Page>- Throws:
DokuException
-
itemToString
protected java.lang.String itemToString(Page page)
- Specified by:
itemToStringin classItemListToStringCommand<Page>
-
-