Class Main

java.lang.Object
dk.mada.jaxrs.generator.cli.Main
All Implemented Interfaces:
Callable<Integer>

public final class Main extends Object implements Callable<Integer>
Main class for command line invocation.
  • Method Details

    • call

      public Integer call() throws Exception
      Specified by:
      call in interface Callable<Integer>
      Throws:
      Exception
    • main

      public static void main(String[] args)
      Will (eventually) start the generator from command line.
      Parameters:
      args - command line arguments
    • mainNoExit

      public static int mainNoExit(String[] args)
      Run the generator from command line arguments without System.exit.
      Parameters:
      args - command line arguments
      Returns:
      exit code