com.github.masahitojp.botan.handler.BotanMessageHandlers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of botan-core Show documentation
Show all versions of botan-core Show documentation
tiny chat bot framework for Java SE 8.(like a Hubot)
package com.github.masahitojp.botan.handler;
import com.github.masahitojp.botan.Robot;
/**
* add Message Handlers to pattern
*/
public interface BotanMessageHandlers {
/**
* register the bot method
* use Robot#respond or Robot#hear
*
* @param robot Robot
*/
void register(final Robot robot);
@SuppressWarnings("unused")
default void initialize(final Robot robot) {
}
default void beforeShutdown() {
}
}