public class SlackSession
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SlackSession.ProxySettings |
| Constructor and Description |
|---|
SlackSession(java.lang.String webHookUrl,
SlackSession.ProxySettings proxySettingsOrNull)
Create a session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkConnection() |
void |
close() |
void |
send(java.lang.String channel,
java.lang.String message) |
public SlackSession(java.lang.String webHookUrl,
SlackSession.ProxySettings proxySettingsOrNull)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
webHookUrl - - the webHookUrl to use for slack messages.proxySettingsOrNull - - the proxy settings or null if not necessary.org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void checkConnection()
throws java.io.IOException
java.io.IOExceptionpublic void send(java.lang.String channel,
java.lang.String message)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOException