Enum PlatformType
- java.lang.Object
-
- java.lang.Enum<PlatformType>
-
- org.uitnet.testing.smartfwk.ui.core.config.PlatformType
-
- All Implemented Interfaces:
Serializable,Comparable<PlatformType>
public enum PlatformType extends Enum<PlatformType>
Test Platform Type on which testing automation can be performed.- Author:
- Madhav Krishna
-
-
Enum Constant Summary
Enum Constants Enum Constant Description android_mobileios_mobilelinuxmacunknownwindows
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()static PlatformTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PlatformTypevalueOf2(String type)static PlatformType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
unknown
public static final PlatformType unknown
-
windows
public static final PlatformType windows
-
linux
public static final PlatformType linux
-
mac
public static final PlatformType mac
-
android_mobile
public static final PlatformType android_mobile
-
ios_mobile
public static final PlatformType ios_mobile
-
-
Method Detail
-
values
public static PlatformType[] 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 (PlatformType c : PlatformType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlatformType 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
-
getType
public String getType()
-
valueOf2
public static PlatformType valueOf2(String type)
-
-