Uses of Class
org.djutils.cli.CliException

  • Uses of CliException in org.djutils.cli

    Methods in org.djutils.cli that throw CliException 
    Modifier and Type Method Description
    static 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.changeCommandProperty​(Class<?> programClass, String propertyName, Object newValue)
    Change the value of a property of an already present @Command annotation in a class or superclass of that class.
    static void CliUtil.changeCommandProperty​(Object program, String propertyName, Object newValue)
    Change the value of a 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.