Class SlackConnector.ConnectThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.manifoldcf.crawler.notifications.slack.SlackConnector.ConnectThread
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- SlackConnector
protected static class SlackConnector.ConnectThread extends java.lang.ThreadClass to set up connection.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Throwableexceptionprotected SlackSession.ProxySettingsproxySettingsprotected SlackSessionsessionprotected java.lang.StringwebHookUrl
-
Constructor Summary
Constructors Constructor Description ConnectThread(java.lang.String webHookUrl, SlackSession.ProxySettings proxySettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlackSessionfinishUp()voidrun()-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
webHookUrl
protected final java.lang.String webHookUrl
-
proxySettings
protected final SlackSession.ProxySettings proxySettings
-
session
protected SlackSession session
-
exception
protected java.lang.Throwable exception
-
-
Constructor Detail
-
ConnectThread
public ConnectThread(java.lang.String webHookUrl, SlackSession.ProxySettings proxySettings)
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable- Overrides:
runin classjava.lang.Thread
-
finishUp
public SlackSession finishUp() throws java.io.IOException, java.lang.InterruptedException
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
-