Class Starter

java.lang.Object
org.kohsuke.args4j.Starter

public class Starter extends Object
Starter class which uses reflection to instantiate the business class, parse the command line parameters, sets the fields of the business class and doing the help message handling.
Author:
Jan Materne
  • Field Details

    • PARAMETER_NAME

      public static final String PARAMETER_NAME
      The name of the JavaVM property which stores the class name of the business class. "mainclass"
      See Also:
  • Constructor Details

    • Starter

      public Starter()
  • Method Details

    • main

      public static void main(String[] args)
    • hasAnnotation

      public static boolean hasAnnotation(Class clazz, Class<? extends Annotation> annotation)