Package com.slack.api.bolt
Class App.AppBuilder
java.lang.Object
com.slack.api.bolt.App.AppBuilder
- Enclosing class:
- App
-
Method Summary
Modifier and TypeMethodDescriptionThe given AppConfig in this App.appUninstalledEventHandler
(DefaultAppUninstalledEventHandler appUninstalledEventHandler) build()
executorService
(ExecutorService executorService) The built-in handy way to run operations asynchronously.installationService
(InstallationService installationService) middlewareList
(List<Middleware> middlewareList) Registered middleware.oAuthAccessErrorHandler
(OAuthAccessErrorHandler oAuthAccessErrorHandler) oAuthCallbackService
(OAuthCallbackService oAuthCallbackService) oAuthErrorHandler
(OAuthErrorHandler oAuthErrorHandler) oAuthExceptionHandler
(OAuthExceptionHandler oAuthExceptionHandler) oAuthStateErrorHandler
(OAuthStateErrorHandler oAuthStateErrorHandler) oAuthStateService
(OAuthStateService oAuthStateService) oAuthSuccessHandler
(OAuthSuccessHandler oAuthSuccessHandler) oAuthV2AccessErrorHandler
(OAuthV2AccessErrorHandler oAuthV2AccessErrorHandler) oAuthV2SuccessHandler
(OAuthV2SuccessHandler oAuthV2SuccessHandler) openIDConnectErrorHandler
(OpenIDConnectErrorHandler openIDConnectErrorHandler) openIDConnectNonceService
(OpenIDConnectNonceService openIDConnectNonceService) openIDConnectSuccessHandler
(OpenIDConnectSuccessHandler openIDConnectSuccessHandler) status
(App.Status status) Current status of this App.tokensRevokedEventHandler
(DefaultTokensRevokedEventHandler tokensRevokedEventHandler) toString()
-
Method Details
-
appConfig
The given AppConfig in this App.- Returns:
this
.
-
executorService
The built-in handy way to run operations asynchronously. It's totally fine to use your own one instead.- Returns:
this
.
-
middlewareList
Registered middleware.- Returns:
this
.
-
status
Current status of this App.- Returns:
this
.
-
installationService
- Returns:
this
.
-
tokensRevokedEventHandler
public App.AppBuilder tokensRevokedEventHandler(DefaultTokensRevokedEventHandler tokensRevokedEventHandler) - Returns:
this
.
-
appUninstalledEventHandler
public App.AppBuilder appUninstalledEventHandler(DefaultAppUninstalledEventHandler appUninstalledEventHandler) - Returns:
this
.
-
oAuthStateService
- Returns:
this
.
-
openIDConnectNonceService
public App.AppBuilder openIDConnectNonceService(OpenIDConnectNonceService openIDConnectNonceService) - Returns:
this
.
-
oAuthSuccessHandler
- Returns:
this
.
-
oAuthV2SuccessHandler
- Returns:
this
.
-
openIDConnectSuccessHandler
public App.AppBuilder openIDConnectSuccessHandler(OpenIDConnectSuccessHandler openIDConnectSuccessHandler) - Returns:
this
.
-
oAuthErrorHandler
- Returns:
this
.
-
oAuthAccessErrorHandler
- Returns:
this
.
-
oAuthV2AccessErrorHandler
public App.AppBuilder oAuthV2AccessErrorHandler(OAuthV2AccessErrorHandler oAuthV2AccessErrorHandler) - Returns:
this
.
-
openIDConnectErrorHandler
public App.AppBuilder openIDConnectErrorHandler(OpenIDConnectErrorHandler openIDConnectErrorHandler) - Returns:
this
.
-
oAuthStateErrorHandler
- Returns:
this
.
-
oAuthExceptionHandler
- Returns:
this
.
-
oAuthCallbackService
- Returns:
this
.
-
build
-
toString
-