Enum VariantAccessor.VariantType
- java.lang.Object
-
- java.lang.Enum<VariantAccessor.VariantType>
-
- com.adobe.cq.testing.selenium.pagewidgets.coral.VariantAccessor.VariantType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<VariantAccessor.VariantType>
- Enclosing class:
- VariantAccessor
public static enum VariantAccessor.VariantType extends java.lang.Enum<VariantAccessor.VariantType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static VariantAccessor.VariantTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static VariantAccessor.VariantType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIMARY
public static final VariantAccessor.VariantType PRIMARY
-
SECONDARY
public static final VariantAccessor.VariantType SECONDARY
-
DEFAULT
public static final VariantAccessor.VariantType DEFAULT
-
MINIMAL
public static final VariantAccessor.VariantType MINIMAL
-
SUCCESS
public static final VariantAccessor.VariantType SUCCESS
-
ERROR
public static final VariantAccessor.VariantType ERROR
-
QUIETACTION
public static final VariantAccessor.VariantType QUIETACTION
-
_CUSTOM
public static final VariantAccessor.VariantType _CUSTOM
-
WARNING
public static final VariantAccessor.VariantType WARNING
-
-
Method Detail
-
values
public static VariantAccessor.VariantType[] 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 (VariantAccessor.VariantType c : VariantAccessor.VariantType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VariantAccessor.VariantType 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<VariantAccessor.VariantType>
-
-