Class SortCliProcessor
java.lang.Object
com.bazaarvoice.jolt.SortCliProcessor
- All Implemented Interfaces:
JoltCliProcessor
The JoltCliProcessor for Sortr. See https://github.com/bazaarvoice/jolt/blob/master/jolt-core/src/main/java/com/bazaarvoice/jolt/Sortr.java
for documentation on Sortr.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintializeSubCommand(net.sourceforge.argparse4j.inf.Subparsers subparsers) Initialize the arg parser for the Sort sub commandbooleanprocess(net.sourceforge.argparse4j.inf.Namespace ns) This method does the processing of the input which is provided via the Namespace
-
Field Details
-
SUPPRESS_OUTPUT
private static final boolean SUPPRESS_OUTPUT- See Also:
-
-
Constructor Details
-
SortCliProcessor
public SortCliProcessor()
-
-
Method Details
-
intializeSubCommand
public void intializeSubCommand(net.sourceforge.argparse4j.inf.Subparsers subparsers) Initialize the arg parser for the Sort sub command- Specified by:
intializeSubCommandin interfaceJoltCliProcessor- Parameters:
subparsers- The Subparsers object to attach the new Subparser to
-
process
public boolean process(net.sourceforge.argparse4j.inf.Namespace ns) Description copied from interface:JoltCliProcessorThis method does the processing of the input which is provided via the Namespace- Specified by:
processin interfaceJoltCliProcessor- Parameters:
ns- Namespace which contains parsed commandline arguments- Returns:
- true if the sort was successful, false if an error occurred
-