Annotation Type CommandDescription


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface CommandDescription
    Represents a annotation, which represents description of a Command. Should be annotated directly on the class implementing the parent command class like:

    Usage example:

    
    @CommandDescription("This command does all sorts of things!")
     public class MyCommand extends Command {
         // other code
     }

    tl;dr Give your command an awesome description!

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      @NotNull java.lang.String value
      Represents the description you want your command to have.
    • Element Detail

      • value

        @NotNull
        @NotNull java.lang.String value
        Represents the description you want your command to have.
        Returns:
        description