Class DiffyCliProcessor

java.lang.Object
com.bazaarvoice.jolt.DiffyCliProcessor
All Implemented Interfaces:
JoltCliProcessor

public class DiffyCliProcessor extends 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 Details

    • DiffyCliProcessor

      public DiffyCliProcessor()
  • Method Details

    • intializeSubCommand

      public void intializeSubCommand(net.sourceforge.argparse4j.inf.Subparsers subparsers)
      Initialize the arg parser for the Diffy sub command
      Specified by:
      intializeSubCommand in interface JoltCliProcessor
      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 interface JoltCliProcessor
      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