Enum UnhandledPromptBehavior
- java.lang.Object
-
- java.lang.Enum<UnhandledPromptBehavior>
-
- io.appium.java_client.remote.options.UnhandledPromptBehavior
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UnhandledPromptBehavior>
public enum UnhandledPromptBehavior extends java.lang.Enum<UnhandledPromptBehavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTACCEPT_AND_NOTIFYDISMISSDISMISS_AND_NOTIFYIGNORE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnhandledPromptBehaviorfromString(java.lang.String value)Converts the given value to an enum member.java.lang.StringtoString()static UnhandledPromptBehaviorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UnhandledPromptBehavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISMISS
public static final UnhandledPromptBehavior DISMISS
-
ACCEPT
public static final UnhandledPromptBehavior ACCEPT
-
DISMISS_AND_NOTIFY
public static final UnhandledPromptBehavior DISMISS_AND_NOTIFY
-
ACCEPT_AND_NOTIFY
public static final UnhandledPromptBehavior ACCEPT_AND_NOTIFY
-
IGNORE
public static final UnhandledPromptBehavior IGNORE
-
-
Method Detail
-
values
public static UnhandledPromptBehavior[] 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 (UnhandledPromptBehavior c : UnhandledPromptBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnhandledPromptBehavior valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<UnhandledPromptBehavior>
-
fromString
public static UnhandledPromptBehavior fromString(java.lang.String value)
Converts the given value to an enum member.- Parameters:
value- The value to convert.- Returns:
- Enum member.
- Throws:
java.lang.IllegalArgumentException- If the provided value cannot be matched.
-
-