Class TransformCliProcessor

  • All Implemented Interfaces:
    JoltCliProcessor

    public class TransformCliProcessor
    extends java.lang.Object
    implements JoltCliProcessor
    The JoltCliProcessor for Chainr. See https://github.com/bazaarvoice/jolt/blob/master/jolt-core/src/main/java/com/bazaarvoice/jolt/Chainr.java for documentation on Chainr.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static boolean SUPPRESS_OUTPUT  
    • 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 Transform sub command
      boolean process​(net.sourceforge.argparse4j.inf.Namespace ns)
      Process the transform sub command
      • Methods inherited from class java.lang.Object

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

      • TransformCliProcessor

        public TransformCliProcessor()
    • Method Detail

      • intializeSubCommand

        public void intializeSubCommand​(net.sourceforge.argparse4j.inf.Subparsers subparsers)
        Initialize the arg parser for the Transform 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 transform sub command
        Specified by:
        process in interface JoltCliProcessor
        Parameters:
        ns - Namespace which contains parsed commandline arguments
        Returns:
        true if the transform is successful, false if an error occured