@Retention(value=RUNTIME) @Target(value=TYPE) @Documented public @interface CliClass
CliClass
is used to annotate a Java-class that holds the parameters of a main-program that are parsed from
the commandline arguments. name of the program
and the additional usage information
. This
annotation is optional, however it is recommended to declare it for the reason of documentation and maintenance. If
it is not present, the defaults will apply.CliStyle
,
CliOption
,
CliArgument
,
AbstractMain
public abstract String name
qualified classname
of the
program is used. You can set this explicitly if your main-program is always run from a front-end shell-script or
you do NOT want to annotate you main-program class but use an externalized state object.public abstract String usage
usage help
of the program. If not set no additional custom description will
be printed
.Copyright © 2001–2016 mmm-Team. All rights reserved.