Package com.bazaarvoice.jolt
Class DiffyCliProcessor
- java.lang.Object
-
- com.bazaarvoice.jolt.DiffyCliProcessor
-
- All Implemented Interfaces:
JoltCliProcessor
public class DiffyCliProcessor extends java.lang.Object implements JoltCliProcessor
The JoltCliProcessor for Diffy. See https://github.com/bazaarvoice/jolt/blob/master/json-utils/src/main/java/com/bazaarvoice/jolt/Diffy.java for documentation on Diffy.
-
-
Constructor Summary
Constructors Constructor Description DiffyCliProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
intializeSubCommand(net.sourceforge.argparse4j.inf.Subparsers subparsers)
Initialize the arg parser for the Diffy sub commandboolean
process(net.sourceforge.argparse4j.inf.Namespace ns)
Process the Diffy Subcommand
-
-
-
Method Detail
-
intializeSubCommand
public void intializeSubCommand(net.sourceforge.argparse4j.inf.Subparsers subparsers)
Initialize the arg parser for the Diffy sub command- Specified by:
intializeSubCommand
in interfaceJoltCliProcessor
- Parameters:
subparsers
- The Subparsers object to attach the new Subparser to
-
process
public boolean process(net.sourceforge.argparse4j.inf.Namespace ns)
Process the Diffy Subcommand- Specified by:
process
in interfaceJoltCliProcessor
- Parameters:
ns
- Namespace which contains parsed commandline arguments- Returns:
- true if no differences are found, false if a difference is found or an error occurs
-
-