Package com.slack.api.bolt.request
Enum RequestType
- java.lang.Object
-
- java.lang.Enum<RequestType>
-
- com.slack.api.bolt.request.RequestType
-
- All Implemented Interfaces:
Serializable
,Comparable<RequestType>
public enum RequestType extends Enum<RequestType>
All the possible request types for incoming requests.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequestType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RequestType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OAuthStart
public static final RequestType OAuthStart
-
OAuthCallback
public static final RequestType OAuthCallback
-
Command
public static final RequestType Command
-
SSLCheck
public static final RequestType SSLCheck
-
Event
public static final RequestType Event
-
UrlVerification
public static final RequestType UrlVerification
-
AttachmentAction
public static final RequestType AttachmentAction
-
BlockAction
public static final RequestType BlockAction
-
BlockSuggestion
public static final RequestType BlockSuggestion
-
GlobalShortcut
public static final RequestType GlobalShortcut
-
MessageShortcut
public static final RequestType MessageShortcut
-
DialogSubmission
public static final RequestType DialogSubmission
-
DialogCancellation
public static final RequestType DialogCancellation
-
DialogSuggestion
public static final RequestType DialogSuggestion
-
ViewSubmission
public static final RequestType ViewSubmission
-
ViewClosed
public static final RequestType ViewClosed
-
WorkflowStepEdit
public static final RequestType WorkflowStepEdit
-
WorkflowStepSave
public static final RequestType WorkflowStepSave
-
WorkflowStepExecute
public static final RequestType WorkflowStepExecute
-
-
Method Detail
-
values
public static RequestType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RequestType c : RequestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-