Enum Class RemediationAction
- All Implemented Interfaces:
Serializable, Comparable<RemediationAction>, Constable
What the user must do to recover from a failure, named as an action rather than as one client's affordance. The runtime cannot know which affordance a client offers — a slash command, a settings pane, a link — so the accompanying message stays host-agnostic and each client renders its own copy from this value. Absent when the runtime knows of no action the user can take.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheallow_sandbox_outboundvariant.Thereview_sandbox_policyvariant.Theshow_accountvariant.Thesign_invariant.Theswitch_accountvariant. -
Method Summary
Modifier and TypeMethodDescriptionstatic RemediationActiongetValue()static RemediationActionReturns the enum constant of this class with the specified name.static RemediationAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SIGN_IN
Thesign_invariant. -
SWITCH_ACCOUNT
Theswitch_accountvariant. -
SHOW_ACCOUNT
Theshow_accountvariant. -
REVIEW_SANDBOX_POLICY
Thereview_sandbox_policyvariant. -
ALLOW_SANDBOX_OUTBOUND
Theallow_sandbox_outboundvariant.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
fromValue
-