Annotation Interface Copyright


@Retention(RUNTIME) @Target(TYPE) @Documented public @interface Copyright
Annotation that provides a copyright statement in a commands help
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Gets/Sets the copyright holder
    int
    Gets/Sets the start year
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Gets/Sets the end year
  • Element Details

    • startYear

      int startYear
      Gets/Sets the start year
      Returns:
      Start year
    • endYear

      int endYear
      Gets/Sets the end year

      If less than the start year this is ignored

      Returns:
      End year
      Default:
      -1
    • holder

      String holder
      Gets/Sets the copyright holder
      Returns:
      Copyright holder