org.kohsuke.args4j
Class Starter
java.lang.Object
org.kohsuke.args4j.Starter
public class Starter
- extends java.lang.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.
Field Summary |
static java.lang.String |
PARAMETER_NAME
The name of the JavaVM property which stores the class name of
the business class. |
Method Summary |
static boolean |
hasAnnotation(java.lang.Class clazz,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAMETER_NAME
public static final java.lang.String PARAMETER_NAME
- The name of the JavaVM property which stores the class name of
the business class.
"mainclass"
- See Also:
- Constant Field Values
Starter
public Starter()
main
public static void main(java.lang.String[] args)
hasAnnotation
public static boolean hasAnnotation(java.lang.Class clazz,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)