@Retention(value=RUNTIME) @Target(value=CONSTRUCTOR) public @interface CliObjectSupport
argumentNames()
must exactly match the number of parameters in the constructor.
This annotation will be ignored unless it is applied to a constructor with only String parameters. Note
that annotating multiple valid constructors in the same class is an error.| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
argumentNames
An array specifying the display name of each constructor parameter as an option in the CLI.
|
public abstract String[] argumentNames