Annotation Interface DefaultValue


@Target(PARAMETER) @Retention(RUNTIME) public @interface DefaultValue
Annotation to specify a default value for a command argument.

Note: This is for the command framework. For config/POJO defaults, use dev.ua.theroer.magicutils.config.annotations.DefaultValue instead.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The default value for the argument.
  • Element Details

    • value

      String value
      The default value for the argument.
      Returns:
      the default value