Modifier and Type | Method and 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.
|
Copyright © 2018–2019 Delft University of Technology. All rights reserved.