Class JoltCli


  • public class JoltCli
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      JoltCli()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      protected static boolean runJolt​(java.lang.String[] args)
      The logic for running DiffyTool has been captured in a helper method that returns a boolean to facilitate unit testing.
      • Methods inherited from class java.lang.Object

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

      • JOLT_CLI_PROCESSOR_MAP

        private static final java.util.Map<java.lang.String,​JoltCliProcessor> JOLT_CLI_PROCESSOR_MAP
    • Constructor Detail

      • JoltCli

        public JoltCli()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • runJolt

        protected static boolean runJolt​(java.lang.String[] args)
        The logic for running DiffyTool has been captured in a helper method that returns a boolean to facilitate unit testing. Since System.exit terminates the JVM it would not be practical to test the main method.
        Parameters:
        args - the arguments from the command line input
        Returns:
        true if two inputs were read with no differences, false if differences were found or an error was encountered