Annotation Type ConditionTest


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

    This annotation can only be used when the BotCommand has commandType set as Condition.

    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.