@groovy.transform.CompileStatic abstract class Jsr310Coercion
Base class for Java 8 date types to extend for GraphQL coercion
- The JSR310 classModifiers | Name | Description |
---|---|---|
protected java.util.List<java.lang.String> |
formats |
Constructor and description |
---|
Jsr310Coercion
(java.util.List<java.lang.String> dateFormats) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.util.Optional<T> |
convert(java.lang.String value) |
|
protected java.util.Optional<T> |
convertValue(java.lang.Object value) |
|
java.lang.Class |
getTypeClass() |
|
T |
parse(java.lang.String value, java.lang.String format) |
|
T |
parseLiteral(java.lang.Object input) |
|
T |
parseValue(java.lang.Object input) |
|
T |
serialize(java.lang.Object input) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |