Package org.openqa.selenium.json
Class InstantCoercer
- java.lang.Object
-
- org.openqa.selenium.json.TypeCoercer<java.time.Instant>
-
- org.openqa.selenium.json.InstantCoercer
-
- All Implemented Interfaces:
java.util.function.Function<java.lang.reflect.Type,java.util.function.BiFunction<JsonInput,PropertySetting,java.time.Instant>>
,java.util.function.Predicate<java.lang.Class<?>>
public class InstantCoercer extends TypeCoercer<java.time.Instant>
-
-
Constructor Summary
Constructors Constructor Description InstantCoercer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.BiFunction<JsonInput,PropertySetting,java.time.Instant>
apply(java.lang.reflect.Type type)
boolean
test(java.lang.Class<?> aClass)
-
-
-
Method Detail
-
test
public boolean test(java.lang.Class<?> aClass)
- Specified by:
test
in interfacejava.util.function.Predicate<java.lang.Class<?>>
- Specified by:
test
in classTypeCoercer<java.time.Instant>
-
apply
public java.util.function.BiFunction<JsonInput,PropertySetting,java.time.Instant> apply(java.lang.reflect.Type type)
- Specified by:
apply
in interfacejava.util.function.Function<java.lang.reflect.Type,java.util.function.BiFunction<JsonInput,PropertySetting,java.time.Instant>>
- Specified by:
apply
in classTypeCoercer<java.time.Instant>
-
-