Annotation Type Execute


  • @Documented
    @Retention(SOURCE)
    @Target(METHOD)
    public @interface Execute
    Method annotated with this annotation will participate in the execution of BotCommand.

    Currently exactly one method needs to be annotated when BotCommand annotation is present on the type. Failure to do so will result in compilation error.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String[] conditions
      Currently unused.
    • Element Detail

      • conditions

        java.lang.String[] conditions
        Currently unused.

        Represents all the conditions need to satisfied before the annotated method can participate in BotCommand execution.

        Returns:
        Default:
        {}