Class ViewSubmissionContext
java.lang.Object
com.slack.api.bolt.context.Context
com.slack.api.bolt.context.builtin.ViewSubmissionContext
- All Implemented Interfaces:
FunctionUtility,InputBlockRespondUtility
public class ViewSubmissionContext
extends Context
implements InputBlockRespondUtility, FunctionUtility
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.slack.api.bolt.context.Context
additionalValues, authTestResponse, botId, botScopes, botToken, botUserId, enterpriseId, enterpriseInstall, functionBotAccessToken, functionExecutionId, logger, requestUserId, requestUserScopes, requestUserToken, slack, teamId -
Constructor Summary
ConstructorsConstructorDescriptionViewSubmissionContext(List<ViewSubmissionPayload.ResponseUrl> responseUrls, Responder responder) -
Method Summary
Modifier and TypeMethodDescriptionack(ViewSubmissionResponse response) ackWithErrors(Map<String, String> errors) ackWithPush(View view) ackWithPush(String view) ackWithUpdate(View view) ackWithUpdate(String view) builder()protected booleanbooleangetResponder(String blockId, String actionId) inthashCode()voidsetResponder(Responder responder) voidsetResponseUrls(List<ViewSubmissionPayload.ResponseUrl> responseUrls) toString()Methods inherited from class com.slack.api.bolt.context.Context
ack, ack, ackWithJson, asyncClient, client, getAdditionalValues, getAuthTestResponse, getBotId, getBotScopes, getBotToken, getBotUserId, getEnterpriseId, getFunctionBotAccessToken, getFunctionExecutionId, getLogger, getRequestUserId, getRequestUserScopes, getRequestUserToken, getSlack, getTeamId, isAttachingFunctionTokenEnabled, isEnterpriseInstall, say, setAttachingFunctionTokenEnabled, setAuthTestResponse, setBotId, setBotScopes, setBotToken, setBotUserId, setEnterpriseId, setEnterpriseInstall, setFunctionBotAccessToken, setFunctionExecutionId, setRequestUserId, setRequestUserScopes, setRequestUserToken, setSlack, setTeamId, toJsonMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.slack.api.bolt.context.FunctionUtility
client, complete, fail, getFunctionExecutionId
-
Constructor Details
-
ViewSubmissionContext
public ViewSubmissionContext() -
ViewSubmissionContext
public ViewSubmissionContext(List<ViewSubmissionPayload.ResponseUrl> responseUrls, Responder responder)
-
-
Method Details
-
ack
-
ack
public Response ack(BuilderConfigurator<ViewSubmissionResponse.ViewSubmissionResponseBuilder> builder) -
ackWithErrors
-
ackWithUpdate
-
ackWithUpdate
-
ackWithPush
-
ackWithPush
-
ack
-
ack
-
getResponder
- Specified by:
getResponderin interfaceInputBlockRespondUtility
-
getFirstResponder
- Specified by:
getFirstResponderin interfaceInputBlockRespondUtility
-
builder
-
getResponseUrls
- Specified by:
getResponseUrlsin interfaceInputBlockRespondUtility
-
getResponder
-
setResponseUrls
-
setResponder
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-