public class GQLCustomMethod extends Object
GQLController annotated classes| Constructor and Description |
|---|
GQLCustomMethod() |
| Modifier and Type | Method and Description |
|---|---|
List<GQLCustomMethodArg> |
getArgs() |
Object |
getController() |
Method |
getMethod() |
String |
getName() |
Type |
getOutputType() |
GQLMethodType |
getType() |
boolean |
isMutation() |
boolean |
isQuery() |
void |
setArgs(List<GQLCustomMethodArg> args) |
void |
setController(Object controller) |
void |
setMethod(Method method) |
void |
setName(String name) |
void |
setOutputType(Type outputType) |
void |
setType(GQLMethodType type) |
public boolean isMutation()
public boolean isQuery()
public GQLMethodType getType()
public String getName()
public void setType(GQLMethodType type)
type - the type to setpublic void setName(String name)
name - the name to setpublic List<GQLCustomMethodArg> getArgs()
public void setArgs(List<GQLCustomMethodArg> args)
args - the args to setpublic Type getOutputType()
public void setOutputType(Type outputType)
outputType - the outputType to setpublic Object getController()
public void setController(Object controller)
controller - the controller to setpublic Method getMethod()
public void setMethod(Method method)
method - the method to setCopyright © 2019. All rights reserved.