Class Main

  • All Implemented Interfaces:
    java.lang.Runnable, IO

    public class Main
    extends BaseCommand
    implements java.lang.Runnable, IO
    Since:
    0.1.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.PrintWriter err  
      private java.io.PrintWriter out  
    • Constructor Summary

      Constructors 
      Constructor Description
      Main()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static int execute​(picocli.CommandLine commandLine, java.lang.String[] args)  
      java.io.PrintWriter getErr()  
      java.io.PrintWriter getOut()  
      static void main​(java.lang.String[] args)  
      void run()  
      static int run​(java.io.PrintWriter out, java.io.PrintWriter err, java.lang.String... args)  
      static int run​(java.lang.String... args)  
      void setErr​(java.io.PrintWriter err)  
      void setOut​(java.io.PrintWriter out)  
      • Methods inherited from class org.kordamp.jarviz.cli.internal.BaseCommand

        $
      • Methods inherited from class java.lang.Object

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

      • out

        private java.io.PrintWriter out
      • err

        private java.io.PrintWriter err
    • Constructor Detail

      • Main

        public Main()
    • Method Detail

      • getOut

        public java.io.PrintWriter getOut()
        Specified by:
        getOut in interface IO
      • setOut

        public void setOut​(java.io.PrintWriter out)
        Specified by:
        setOut in interface IO
      • getErr

        public java.io.PrintWriter getErr()
        Specified by:
        getErr in interface IO
      • setErr

        public void setErr​(java.io.PrintWriter err)
        Specified by:
        setErr in interface IO
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • main

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

        public static int run​(java.lang.String... args)
      • run

        public static int run​(java.io.PrintWriter out,
                              java.io.PrintWriter err,
                              java.lang.String... args)
      • execute

        private static int execute​(picocli.CommandLine commandLine,
                                   java.lang.String[] args)