Interface JoltCliProcessor
- All Known Implementing Classes:
DiffyCliProcessor, SortCliProcessor, TransformCliProcessor
public interface JoltCliProcessor
An interface to describe a subcommand for the Jolt CLI Tool.
-
Method Summary
Modifier and TypeMethodDescriptionvoidintializeSubCommand(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 Details
-
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
-