Class ViewSubmissionContext
- java.lang.Object
-
- com.slack.api.bolt.context.Context
-
- com.slack.api.bolt.context.builtin.ViewSubmissionContext
-
- All Implemented Interfaces:
InputBlockRespondUtility
public class ViewSubmissionContext extends Context implements InputBlockRespondUtility
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ViewSubmissionContext.ViewSubmissionContextBuilder
-
Field Summary
-
Fields inherited from class com.slack.api.bolt.context.Context
additionalValues, botId, botToken, botUserId, enterpriseId, logger, requestUserId, requestUserToken, slack, teamId
-
-
Constructor Summary
Constructors Constructor Description ViewSubmissionContext()
ViewSubmissionContext(List<ViewSubmissionPayload.ResponseUrl> responseUrls, Responder responder)
-
Method Summary
-
Methods inherited from class com.slack.api.bolt.context.Context
ack, ack, ackWithJson, asyncClient, client, getAdditionalValues, getBotId, getBotToken, getBotUserId, getEnterpriseId, getLogger, getRequestUserId, getRequestUserToken, getSlack, getTeamId, say, setBotId, setBotToken, setBotUserId, setEnterpriseId, setRequestUserId, setRequestUserToken, setSlack, setTeamId, toJson
-
-
-
-
Constructor Detail
-
ViewSubmissionContext
public ViewSubmissionContext()
-
ViewSubmissionContext
public ViewSubmissionContext(List<ViewSubmissionPayload.ResponseUrl> responseUrls, Responder responder)
-
-
Method Detail
-
ack
public Response ack(ViewSubmissionResponse response)
-
ack
public Response ack(BuilderConfigurator<ViewSubmissionResponse.ViewSubmissionResponseBuilder> builder)
-
getResponder
public InputBlockResponseSender getResponder(String blockId, String actionId)
- Specified by:
getResponder
in interfaceInputBlockRespondUtility
-
getFirstResponder
public InputBlockResponseSender getFirstResponder()
- Specified by:
getFirstResponder
in interfaceInputBlockRespondUtility
-
builder
public static ViewSubmissionContext.ViewSubmissionContextBuilder builder()
-
getResponseUrls
public List<ViewSubmissionPayload.ResponseUrl> getResponseUrls()
- Specified by:
getResponseUrls
in interfaceInputBlockRespondUtility
-
getResponder
public Responder getResponder()
-
setResponseUrls
public void setResponseUrls(List<ViewSubmissionPayload.ResponseUrl> responseUrls)
-
setResponder
public void setResponder(Responder responder)
-
canEqual
protected boolean canEqual(Object other)
-
-