Annotation Type 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
      java.lang.String holder
      Gets/Sets the copyright holder
      int startYear
      Gets/Sets the start year
    • Optional Element Summary

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

      • startYear

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

        java.lang.String holder
        Gets/Sets the copyright holder
        Returns:
        Copyright holder
      • endYear

        int endYear
        Gets/Sets the end year

        If less than the start year this is ignored

        Returns:
        End year
        Default:
        -1