Class DialogSubmissionContext
- java.lang.Object
-
- com.slack.api.bolt.context.Context
-
- com.slack.api.bolt.context.builtin.DialogSubmissionContext
-
- All Implemented Interfaces:
ActionRespondUtility
,RespondUtility
,SayUtility
public class DialogSubmissionContext extends Context implements SayUtility, ActionRespondUtility
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DialogSubmissionContext.DialogSubmissionContextBuilder
-
Field Summary
-
Fields inherited from class com.slack.api.bolt.context.Context
additionalValues, authTestResponse, botId, botScopes, botToken, botUserId, enterpriseId, enterpriseInstall, logger, requestUserId, requestUserScopes, requestUserToken, slack, teamId
-
-
Constructor Summary
Constructors Constructor Description DialogSubmissionContext()
DialogSubmissionContext(String responseUrl, String channelId, Responder responder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
ack(DialogSubmissionErrorResponse error)
Response
ack(BuilderConfigurator<DialogSubmissionErrorResponse.DialogSubmissionErrorResponseBuilder> builder)
Response
ack(List<Error> errors)
static DialogSubmissionContext.DialogSubmissionContextBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannelId()
Responder
getResponder()
String
getResponseUrl()
int
hashCode()
void
setChannelId(String channelId)
void
setResponder(Responder responder)
void
setResponseUrl(String responseUrl)
String
toString()
-
Methods inherited from class com.slack.api.bolt.context.Context
ack, ack, ackWithJson, asyncClient, client, getAdditionalValues, getAuthTestResponse, getBotId, getBotScopes, getBotToken, getBotUserId, getEnterpriseId, getLogger, getRequestUserId, getRequestUserScopes, getRequestUserToken, getSlack, getTeamId, isEnterpriseInstall, say, setAuthTestResponse, setBotId, setBotScopes, setBotToken, setBotUserId, setEnterpriseId, setEnterpriseInstall, setRequestUserId, setRequestUserScopes, setRequestUserToken, setSlack, setTeamId, toJson
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.slack.api.bolt.context.ActionRespondUtility
respond, respond, respond, respond
-
Methods inherited from interface com.slack.api.bolt.context.RespondUtility
getSlack
-
Methods inherited from interface com.slack.api.bolt.context.SayUtility
client, say, say, say, verifyChannelId
-
-
-
-
Method Detail
-
ack
public Response ack(DialogSubmissionErrorResponse error)
-
ack
public Response ack(BuilderConfigurator<DialogSubmissionErrorResponse.DialogSubmissionErrorResponseBuilder> builder)
-
builder
public static DialogSubmissionContext.DialogSubmissionContextBuilder builder()
-
getResponseUrl
public String getResponseUrl()
- Specified by:
getResponseUrl
in interfaceRespondUtility
-
getChannelId
public String getChannelId()
- Specified by:
getChannelId
in interfaceSayUtility
-
getResponder
public Responder getResponder()
- Specified by:
getResponder
in interfaceRespondUtility
-
setResponseUrl
public void setResponseUrl(String responseUrl)
-
setChannelId
public void setChannelId(String channelId)
-
setResponder
public void setResponder(Responder responder)
- Specified by:
setResponder
in interfaceRespondUtility
-
canEqual
protected boolean canEqual(Object other)
-
-