Class DefaultAppUninstalledEventHandler
java.lang.Object
com.slack.api.bolt.handler.builtin.DefaultAppUninstalledEventHandler
- All Implemented Interfaces:
BoltEventHandler<AppUninstalledEvent>
public class DefaultAppUninstalledEventHandler
extends Object
implements BoltEventHandler<AppUninstalledEvent>
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultAppUninstalledEventHandler(InstallationService installationService, ExecutorService executorService) -
Method Summary
Modifier and TypeMethodDescriptionapply(EventsApiPayload<AppUninstalledEvent> payload, EventContext context) getInstance(InstallationService installationService, ExecutorService executorService)
-
Constructor Details
-
DefaultAppUninstalledEventHandler
public DefaultAppUninstalledEventHandler(InstallationService installationService, ExecutorService executorService)
-
-
Method Details
-
getInstance
public static DefaultAppUninstalledEventHandler getInstance(InstallationService installationService, ExecutorService executorService) -
apply
public Response apply(EventsApiPayload<AppUninstalledEvent> payload, EventContext context) throws IOException, SlackApiException - Specified by:
applyin interfaceBoltEventHandler<AppUninstalledEvent>- Throws:
IOExceptionSlackApiException
-