Package com.bazaarvoice.jolt
Interface JoltCliProcessor
-
- All Known Implementing Classes:
DiffyCliProcessor,SortCliProcessor,TransformCliProcessor
public interface JoltCliProcessorAn interface to describe a subcommand for the Jolt CLI Tool.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidintializeSubCommand(net.sourceforge.argparse4j.inf.Subparsers subparsers)Initializes the subcommand argument parser.booleanprocess(net.sourceforge.argparse4j.inf.Namespace ns)This method does the processing of the input which is provided via the Namespace
-
-
-
Method Detail
-
intializeSubCommand
void intializeSubCommand(net.sourceforge.argparse4j.inf.Subparsers subparsers)
Initializes the subcommand argument parser.- Parameters:
subparsers- The Subparsers object to attach the new Subparser to
-
process
boolean process(net.sourceforge.argparse4j.inf.Namespace ns)
This method does the processing of the input which is provided via the Namespace- Parameters:
ns- Namespace which contains parsed commandline arguments- Returns:
- true if processing was successful
-
-