Enum WaitingProperties.TimeValueProperties
- java.lang.Object
-
- java.lang.Enum<WaitingProperties.TimeValueProperties>
-
- ru.tinkoff.qa.neptune.selenium.properties.WaitingProperties.TimeValueProperties
-
- All Implemented Interfaces:
Serializable
,Comparable<WaitingProperties.TimeValueProperties>
,Consumer<Long>
,Supplier<Long>
,LongValuePropertySupplier
,PropertySupplier<Long,Long>
- Enclosing class:
- WaitingProperties
public static enum WaitingProperties.TimeValueProperties extends Enum<WaitingProperties.TimeValueProperties> implements LongValuePropertySupplier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ELEMENT_WAITING_TIME_VALUE
WAITING_ALERT_TIME_VALUE
WAITING_FOR_PAGE_LOADED_TIME_VALUE
WAITING_FRAME_SWITCHING_TIME_VALUE
Reads property"WAITING_FOR_FRAME_SWITCHING_TIME"
.WAITING_WINDOW_TIME_VALUE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WaitingProperties.TimeValueProperties
valueOf(String name)
Returns the enum constant of this type with the specified name.static WaitingProperties.TimeValueProperties[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface ru.tinkoff.qa.neptune.core.api.properties.longs.LongValuePropertySupplier
parse
-
Methods inherited from interface ru.tinkoff.qa.neptune.core.api.properties.PropertySupplier
accept, get, getName, readValuesToSet, returnIfNull
-
-
-
-
Enum Constant Detail
-
ELEMENT_WAITING_TIME_VALUE
public static final WaitingProperties.TimeValueProperties ELEMENT_WAITING_TIME_VALUE
-
WAITING_ALERT_TIME_VALUE
public static final WaitingProperties.TimeValueProperties WAITING_ALERT_TIME_VALUE
-
WAITING_WINDOW_TIME_VALUE
public static final WaitingProperties.TimeValueProperties WAITING_WINDOW_TIME_VALUE
-
WAITING_FRAME_SWITCHING_TIME_VALUE
public static final WaitingProperties.TimeValueProperties WAITING_FRAME_SWITCHING_TIME_VALUE
Reads property"WAITING_FOR_FRAME_SWITCHING_TIME"
. This property is needed to define time of the waiting for the switching to some frame succeeded. Returns read value ornull
if nothing is defined.
-
WAITING_FOR_PAGE_LOADED_TIME_VALUE
public static final WaitingProperties.TimeValueProperties WAITING_FOR_PAGE_LOADED_TIME_VALUE
-
-
Method Detail
-
values
public static WaitingProperties.TimeValueProperties[] 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 (WaitingProperties.TimeValueProperties c : WaitingProperties.TimeValueProperties.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WaitingProperties.TimeValueProperties 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
-
-