Package graphql
Class GraphqlErrorHelper
- java.lang.Object
-
- graphql.GraphqlErrorHelper
-
public class GraphqlErrorHelper extends java.lang.Object
This little helper allows GraphQlErrors to implement common things (hashcode/ equals ) and to specification more easily
-
-
Constructor Summary
Constructors Constructor Description GraphqlErrorHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
equals(GraphQLError dis, java.lang.Object o)
static int
hashCode(GraphQLError dis)
static java.lang.Object
location(SourceLocation location)
static java.lang.Object
locations(java.util.List<SourceLocation> locations)
static java.util.Map<java.lang.String,java.lang.Object>
toSpecification(GraphQLError error)
-
-
-
Method Detail
-
toSpecification
public static java.util.Map<java.lang.String,java.lang.Object> toSpecification(GraphQLError error)
-
locations
public static java.lang.Object locations(java.util.List<SourceLocation> locations)
-
location
public static java.lang.Object location(SourceLocation location)
-
hashCode
public static int hashCode(GraphQLError dis)
-
equals
public static boolean equals(GraphQLError dis, java.lang.Object o)
-
-