![JAR search and dependency download from the Maven repository](/logo.png)
com.saucelabs.saucebindings.UnhandledPromptBehavior Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sauce_bindings Show documentation
Show all versions of sauce_bindings Show documentation
Java library which provides tools for interacting with Sauce Labs
package com.saucelabs.saucebindings;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import lombok.Getter;
public enum UnhandledPromptBehavior {
DISMISS("dismiss"),
ACCEPT("accept"),
DISMISS_AND_NOTIFY("dismiss and notify"),
ACCEPT_AND_NOTIFY("accept and notify"),
IGNORE("ignore");
@Getter private final String value;
private static final class UnhandledPromptBehaviorLookup {
private static final Map lookup = new HashMap();
}
public static Set keys() {
return UnhandledPromptBehaviorLookup.lookup.keySet();
}
UnhandledPromptBehavior(String value) {
this.value = value;
UnhandledPromptBehaviorLookup.lookup.put(value, this.name());
}
public static String fromString(String value) {
return UnhandledPromptBehaviorLookup.lookup.get(value);
}
public String toString() {
return this.value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy