com.atlassian.jira.pageobjects.framework.util
Enum HowMappings
java.lang.Object
java.lang.Enum<HowMappings>
com.atlassian.jira.pageobjects.framework.util.HowMappings
- All Implemented Interfaces:
- Serializable, Comparable<HowMappings>
public enum HowMappings
- extends Enum<HowMappings>
Mappings for each How
to get By
- Since:
- v4.4
ID
public static final HowMappings ID
NAME
public static final HowMappings NAME
ID_OR_NAME
public static final HowMappings ID_OR_NAME
CLASS_NAME
public static final HowMappings CLASS_NAME
CSS
public static final HowMappings CSS
TAG_NAME
public static final HowMappings TAG_NAME
XPATH
public static final HowMappings XPATH
LINK_TEXT
public static final HowMappings LINK_TEXT
PARTIAL_LINK_TEXT
public static final HowMappings PARTIAL_LINK_TEXT
values
public static HowMappings[] 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 (HowMappings c : HowMappings.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HowMappings 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 name
NullPointerException
- if the argument is null
forHow
public static HowMappings forHow(org.openqa.selenium.support.How how)
safeForHow
public static HowMappings safeForHow(org.openqa.selenium.support.How how)
how
public org.openqa.selenium.support.How how()
getBy
public org.openqa.selenium.By getBy(String locator)
getAnnotationValue
public String getAnnotationValue(Annotation findBy)
hasAnnotationValue
public boolean hasAnnotationValue(Annotation findBy)
Copyright © 2002-2013 Atlassian. All Rights Reserved.