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