oracle.dbtools.plugin.api.cmdline.annotations

## Annotation Type Argument

-     @Retention(value=RUNTIME)
       @Documented
       @Target(value=ANNOTATION_TYPE)
      public @interface Argument

  Describes a required argument of a `Command`. The final argument of a command may optionally take more than one value.
  Author:
    cdivilly

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `TranslatableText` | `description` `Translatable` description of the argument's purpose
    `String` | `name` The name of the argument

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `Class<?>` | `type` The type of the argument's value

- - ### Element Detail

    - #### name

          public abstract String name

      The name of the argument
      Returns:
        The argument name

  - - #### description

          public abstract TranslatableText description

      `Translatable` description of the argument's purpose
      Returns:
        description of argument

  - - #### type

          public abstract Class<?> type

      The type of the argument's value
      Returns:
        The argument value's type
      Default:
        java.lang.String.class

Copyright © 2010, 2022, Oracle and/or its affiliates.