Class 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.
    • 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 command
      boolean process​(net.sourceforge.argparse4j.inf.Namespace ns)
      Process the Diffy Subcommand
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DiffyCliProcessor

        public DiffyCliProcessor()
    • 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 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