Modifier and Type | Method | Description |
---|---|---|
List<CommandLine.Model.IAnnotatedElement> |
CommandLine.Model.CommandSpec.parentCommandElements() |
Returns the list of program elements annotated with
{@literal @}ParentCommand configured for this command. |
List<CommandLine.Model.IAnnotatedElement> |
CommandLine.Model.CommandSpec.specElements() |
Returns the list of program elements annotated with
{@literal @}Spec configured for this command. |
Modifier and Type | Method | Description |
---|---|---|
CommandLine.Model.CommandSpec |
CommandLine.Model.CommandSpec.addParentCommandElement(CommandLine.Model.IAnnotatedElement spec) |
Adds the specified
{@literal @}ParentCommand -annotated program element to the list of elements for this command. |
CommandLine.Model.CommandSpec |
CommandLine.Model.CommandSpec.addSpecElement(CommandLine.Model.IAnnotatedElement spec) |
Adds the specified
{@literal @}Spec -annotated program element to the list of elements for this command. |
static CommandLine.Model.ArgGroupSpec.Builder |
CommandLine.Model.ArgGroupSpec.builder(CommandLine.Model.IAnnotatedElement annotatedElement) |
Returns a new
CommandLine.Model.ArgGroupSpec.Builder associated with the specified annotated element. |
static CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.builder(CommandLine.Model.IAnnotatedElement source,
CommandLine.IFactory factory) |
|
static CommandLine.Model.PositionalParamSpec.Builder |
CommandLine.Model.PositionalParamSpec.builder(CommandLine.Model.IAnnotatedElement source,
CommandLine.IFactory factory) |
Copyright © 2017–2019. All rights reserved.