Package com.bazaarvoice.jolt
Class JoltCli
- java.lang.Object
-
- com.bazaarvoice.jolt.JoltCli
-
public class JoltCli extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<java.lang.String,JoltCliProcessor>
JOLT_CLI_PROCESSOR_MAP
-
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.
-
-
-
Field Detail
-
JOLT_CLI_PROCESSOR_MAP
private static final java.util.Map<java.lang.String,JoltCliProcessor> JOLT_CLI_PROCESSOR_MAP
-
-
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
-
-