Annotation Type CommandArgs


@Target(TYPE)
@Retention(RUNTIME)
@Repeatable(AltCommandArgs.class)
public @interface CommandArgs
  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    java.lang.String argName  
    java.lang.String optional  
    java.lang.String[] required  
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String DEFAULT_OPTIONAL_ARGUMENT  
  • Field Details

    • DEFAULT_OPTIONAL_ARGUMENT

      static final java.lang.String DEFAULT_OPTIONAL_ARGUMENT
      See Also:
      Constant Field Values
  • Element Details

    • required

      java.lang.String[] required
      Default:
      {}
    • optional

      java.lang.String optional
      Default:
      "no value"
    • argName

      java.lang.String argName
      Default:
      "NO_ARGUMENT_NAME"