Annotation Type CommandDescription


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface CommandDescription
    This is for annotating classes which extend AbstractCommand
    Since:
    1.0.0
    See Also:
    AbstractCommand
    • Element Detail

      • name

        java.lang.String name
        This represents the name of the AbstractCommand which is annotated with this CommandDescription
        Returns:
        The name of the command, should never be null.
        Since:
        1.0.0
      • triggers

        java.lang.String[] triggers
        This represents an array of Strings which could trigger the AbstractCommand which is annotated with this CommandDescription has.
        Returns:
        An Array of Strings which could trigger the command.
        Since:
        1.0.0
      • description

        java.lang.String description
        This represents the description of the AbstractCommand which is annotated with this CommandDescription has.
        Returns:
        The description of the command, default as an empty string.
        Since:
        1.0.6
        Default:
        ""