| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Argument | |
| private static <T> Object | |
| private static Option | |
| public static CLI | |
| private static Object | |
| private static Object | |
| public static void | inject(CommandLine
the cli cli, Object the object to be injected object)Injects the value in the annotated setter methods ( |
| CLIConfigurator | back to summary |
|---|---|
| public CLIConfigurator() | |
| createArgument | back to summary |
|---|---|
private static Argument createArgument(Method method)
| |
| createMultiValueContainer | back to summary |
|---|---|
| private static <T> Object createMultiValueContainer(Method setter, List<T> values) | |
| createOption | back to summary |
|---|---|
private static Option createOption(Method method)
| |
| define | back to summary |
|---|---|
| public static CLI define(Class<?> clazz) Creates an instance of the given class, and extracts the metadata from the given class. | |
| getArgumentValue | back to summary |
|---|---|
| private static Object getArgumentValue(Method method, int index, CommandLine commandLine) | |
| getOptionValue | back to summary |
|---|---|
| private static Object getOptionValue(Method method, String name, CommandLine commandLine) | |
| inject | back to summary |
|---|---|
| public static void inject(CommandLine cli, Object object) throws CLIException Injects the value in the annotated setter methods (
| |