Uses of Class
org.djutils.cli.CliException
-
Uses of CliException in org.djutils.cli
Modifier and TypeMethodDescriptionstatic void
CliUtil.changeCommandDescription
(Class<?> programClass, String newDescription) Change the value of the 'description' property of an already present @Command annotation in a class or superclass of that class.static void
CliUtil.changeCommandDescription
(Object program, String newDescription) Change the value of the 'description' property of an already present @Command annotation in a class or superclass of that class.static void
CliUtil.changeCommandName
(Class<?> programClass, String newName) Change the value of the 'name' property of an already present @Command annotation in a class or superclass of that class.static void
CliUtil.changeCommandName
(Object program, String newName) Change the value of the 'name' property of an already present @Command annotation in a class or superclass of that class.static void
CliUtil.changeCommandVersion
(Class<?> programClass, String newVersion) Change the value of the 'version' property of an already present @Command annotation in a class or superclass of that class.static void
CliUtil.changeCommandVersion
(Object program, String newVersion) Change the value of the 'version' property of an already present @Command annotation in a class or superclass of that class.static void
CliUtil.changeOptionDefault
(Class<?> programClass, String fieldName, String newDefaultValue) Change the default value of an already present @Option annotation of the "defaultValue" field in a class or superclass.static void
CliUtil.changeOptionDefault
(Object program, String fieldName, String newDefaultValue) Change the default value of an already present @Option annotation of the "defaultValue" field in a class or superclass.static void
CliUtil.changeOptionProperty
(Class<?> programClass, String fieldName, String propertyName, Object newValue) Change the value of a property of an already present @Option annotation of a field in a class or superclass.static void
CliUtil.changeOptionProperty
(Object program, String fieldName, String propertyName, Object newValue) Change the value of a property of an already present @Option annotation of a field in a class or superclass.static CommandLine.Command
CliUtil.getCommandAnnotation
(Class<?> programClass) Return the @Command annotation of a class or one of its superclasses.static Class<?>
CliUtil.getCommandAnnotationClass
(Class<?> programClass) Return the @Command annotation of a class or one of its superclasses.static String[]
CliUtil.getCommandDescription
(Class<?> programClass) static String[]
CliUtil.getCommandDescription
(Object program) static String
CliUtil.getCommandName
(Class<?> programClass) static String
CliUtil.getCommandName
(Object program) static String[]
CliUtil.getCommandVersion
(Class<?> programClass) static String[]
CliUtil.getCommandVersion
(Object program)