Top Description Fields Constructors Methods
org.kohsuke.args4j

public Class Starter

extends Object
Class Inheritance
Imports
java.lang.annotation.Annotation, java.lang.reflect.Field, .InvocationTargetException, .Method

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 Summary

Modifier and TypeField and Description
public static final String
PARAMETER_NAME

The name of the JavaVM property which stores the class name of the business class.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean
hasAnnotation(Class<T> clazz, Class<? extends Annotation> annotation)

public static void
main(String[] args)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

PARAMETER_NAMEback to summary
public static final String PARAMETER_NAME

The name of the JavaVM property which stores the class name of the business class.

Constructor Detail

Starterback to summary
public Starter()

Method Detail

hasAnnotationback to summary
public static boolean hasAnnotation(Class<T> clazz, Class<? extends Annotation> annotation)
mainback to summary
public static void main(String[] args)