Package com.crowdar.driver
Enum ProjectTypeEnum
- java.lang.Object
-
- java.lang.Enum<ProjectTypeEnum>
-
- com.crowdar.driver.ProjectTypeEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ProjectTypeEnum>
public enum ProjectTypeEnum extends java.lang.Enum<ProjectTypeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APIDATABASEGENERICMOBILE_ANDROIDMOBILE_IOSWEB_CHROMEWEB_EDGEWEB_FIREFOXWEB_IEWEB_SAFARIWIN32
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROJECT_TYPE_KEY
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ProjectTypeEnumget(java.lang.String key)org.openqa.selenium.remote.DesiredCapabilitiesgetDesiredCapabilities()abstract java.lang.Class<? extends org.openqa.selenium.remote.RemoteWebDriver>getLocalDriverImplementation()abstract java.lang.StringgetName()abstract java.util.PropertiesgetProperties()abstract java.lang.Class<? extends org.openqa.selenium.remote.RemoteWebDriver>getRemoteDriverImplementation()static ProjectTypeEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ProjectTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERIC
public static final ProjectTypeEnum GENERIC
-
WEB_CHROME
public static final ProjectTypeEnum WEB_CHROME
-
WEB_FIREFOX
public static final ProjectTypeEnum WEB_FIREFOX
-
WEB_EDGE
public static final ProjectTypeEnum WEB_EDGE
-
WEB_IE
public static final ProjectTypeEnum WEB_IE
-
WEB_SAFARI
public static final ProjectTypeEnum WEB_SAFARI
-
MOBILE_ANDROID
public static final ProjectTypeEnum MOBILE_ANDROID
-
MOBILE_IOS
public static final ProjectTypeEnum MOBILE_IOS
-
API
public static final ProjectTypeEnum API
-
DATABASE
public static final ProjectTypeEnum DATABASE
-
WIN32
public static final ProjectTypeEnum WIN32
-
-
Field Detail
-
PROJECT_TYPE_KEY
public static final java.lang.String PROJECT_TYPE_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ProjectTypeEnum[] 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 (ProjectTypeEnum c : ProjectTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectTypeEnum 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
-
getLocalDriverImplementation
public abstract java.lang.Class<? extends org.openqa.selenium.remote.RemoteWebDriver> getLocalDriverImplementation()
- Returns:
- driver type to create instance on LocalWebExecutionStrategy or DownloadLatestStrategy. both local.
-
getRemoteDriverImplementation
public abstract java.lang.Class<? extends org.openqa.selenium.remote.RemoteWebDriver> getRemoteDriverImplementation()
- Returns:
- driver type to create instance with selenium hub Strategy.
-
getName
public abstract java.lang.String getName()
- Returns:
- driver name without the Driver at the end. Example: Chrome
-
getProperties
public abstract java.util.Properties getProperties()
-
getDesiredCapabilities
public org.openqa.selenium.remote.DesiredCapabilities getDesiredCapabilities()
-
get
public static ProjectTypeEnum get(java.lang.String key)
-
-