io.split.qos.server.integrations.slack.commands.SlackCommandExecutor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qosrunner Show documentation
Show all versions of qosrunner Show documentation
Framework for running JUnit Tests as a Continous Service (QoS)
package io.split.qos.server.integrations.slack.commands;
import com.ullink.slack.simpleslackapi.SlackSession;
import com.ullink.slack.simpleslackapi.events.SlackMessagePosted;
import java.util.List;
import java.util.function.BiPredicate;
/**
* A Command is a BiPredicate that also has a help for displaying purposes.
*/
public interface SlackCommandExecutor extends BiPredicate {
/**
* Description of the command
*/
String description();
/**
* Arguments that the command accepts.
*/
String arguments();
boolean acceptsArguments(List arguments);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy