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, botId, botToken, botUserId, enterpriseId, logger, requestUserId, 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, getBotId, getBotToken, getBotUserId, getEnterpriseId, getLogger, getRequestUserId, getRequestUserToken, getSlack, getTeamId, say, setBotId, setBotToken, setBotUserId, setEnterpriseId, setRequestUserId, 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, 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)
-
-