public class GQLMethodEnumMetaData extends GQLAbstractMethodMetaData
| Constructor and Description |
|---|
GQLMethodEnumMetaData()
Default constructor
|
GQLMethodEnumMetaData(GQLCustomMethod method,
Class<? extends Enum<?>> enumClass)
Constructor passing name, whether this is a mutation or a query, method
and return type
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendToString(StringBuilder stringBuilder) |
Class<? extends Enum<?>> |
getEnumClass()
Get the method enumeration return type
|
GQLMethodEnumMetaData |
setEnumClass(Class<? extends Enum<?>> enumClass)
Set the method enumeration return type
|
addArgument, getArguments, getMethod, getMethodReturnType, getName, isMutation, setArguments, setMethodfinalizeToString, toStringpublic GQLMethodEnumMetaData()
public GQLMethodEnumMetaData(GQLCustomMethod method, Class<? extends Enum<?>> enumClass)
method - the GQLCustomMethodenumClass - the enumeration class for method return typeprotected void appendToString(StringBuilder stringBuilder)
appendToString in class GQLAbstractMethodMetaDatapublic Class<? extends Enum<?>> getEnumClass()
public GQLMethodEnumMetaData setEnumClass(Class<? extends Enum<?>> enumClass)
enumClass - the enumClass to setCopyright © 2019. All rights reserved.