All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.iskrenyp.slackreporter.slack.ISlackClient.groovy Maven / Gradle / Ivy

Go to download

A simple annotation driven local extension for Spock framework, which enables you to screen record your Specifications

There is a newer version: 1.0.4
Show newest version
package com.github.iskrenyp.slackreporter.slack

import com.github.iskrenyp.slackreporter.SlackReporterConfigEntity
import com.github.iskrenyp.slackreporter.exception.SpockSlackReporterException
import com.ullink.slack.simpleslackapi.SlackPreparedMessage

trait ISlackClient {

    abstract def connectToSlack(String userToken) throws SpockSlackReporterException

    abstract def disconnectFromSlack() throws SpockSlackReporterException

    abstract  T prepareMessage(SlackReporterConfigEntity entity, Closure consumeMessage)

    abstract def sendMessage(SlackPreparedMessage message, String channelName) throws SpockSlackReporterException

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy