Class GraphQLPlugin
java.lang.Object
com.graphql_java_generator.gradleplugin.GraphQLPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public class GraphQLPlugin
extends java.lang.Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringGENERATE_CLIENT_CODE_EXTENSIONThe extension name to configure the GraphQL plugin, for the client code generation taskstatic java.lang.StringGENERATE_CLIENT_CODE_TASK_NAMEThe name of the task that generates the client code from the given GraphQL schemasstatic java.lang.StringGENERATE_POJO_EXTENSIONThe extension name to configure the GraphQL plugin, for the generatePojo taskstatic java.lang.StringGENERATE_POJO_TASK_NAMEThe name of the task that generates the POJOs from the given GraphQL schemasstatic java.lang.StringGENERATE_SERVER_CODE_EXTENSIONThe extension name to configure the GraphQL plugin, for the server code generation taskstatic java.lang.StringGENERATE_SERVER_CODE_TASK_NAMEThe name of the task that generates the server code from the given GraphQL schemasstatic java.lang.StringGRAPHQL_EXTENSIONThe extension name to configure the GraphQL plugin, for the code generation taskstatic java.lang.StringGRAPHQL_GENERATE_CODE_TASK_NAMEThe name of the task that generates the code from the given GraphQL schemasstatic java.lang.StringMERGE_EXTENSIONThe extension name to configure the GraphQL merge taskstatic java.lang.StringMERGE_TASK_NAMEThe name of the task that generates a GraphqL that merges several GraphQL schemas -
Constructor Summary
Constructors Constructor Description GraphQLPlugin() -
Method Summary
Modifier and Type Method Description voidapply(org.gradle.api.Project project)
-
Field Details
-
GENERATE_CLIENT_CODE_EXTENSION
public static final java.lang.String GENERATE_CLIENT_CODE_EXTENSIONThe extension name to configure the GraphQL plugin, for the client code generation task- See Also:
- Constant Field Values
-
GENERATE_CLIENT_CODE_TASK_NAME
public static final java.lang.String GENERATE_CLIENT_CODE_TASK_NAMEThe name of the task that generates the client code from the given GraphQL schemas- See Also:
- Constant Field Values
-
GENERATE_POJO_EXTENSION
public static final java.lang.String GENERATE_POJO_EXTENSIONThe extension name to configure the GraphQL plugin, for the generatePojo task- See Also:
- Constant Field Values
-
GENERATE_POJO_TASK_NAME
public static final java.lang.String GENERATE_POJO_TASK_NAMEThe name of the task that generates the POJOs from the given GraphQL schemas- See Also:
- Constant Field Values
-
GENERATE_SERVER_CODE_EXTENSION
public static final java.lang.String GENERATE_SERVER_CODE_EXTENSIONThe extension name to configure the GraphQL plugin, for the server code generation task- See Also:
- Constant Field Values
-
GENERATE_SERVER_CODE_TASK_NAME
public static final java.lang.String GENERATE_SERVER_CODE_TASK_NAMEThe name of the task that generates the server code from the given GraphQL schemas- See Also:
- Constant Field Values
-
GRAPHQL_EXTENSION
public static final java.lang.String GRAPHQL_EXTENSIONThe extension name to configure the GraphQL plugin, for the code generation task- See Also:
- Constant Field Values
-
GRAPHQL_GENERATE_CODE_TASK_NAME
public static final java.lang.String GRAPHQL_GENERATE_CODE_TASK_NAMEThe name of the task that generates the code from the given GraphQL schemas- See Also:
- Constant Field Values
-
MERGE_EXTENSION
public static final java.lang.String MERGE_EXTENSIONThe extension name to configure the GraphQL merge task- See Also:
- Constant Field Values
-
MERGE_TASK_NAME
public static final java.lang.String MERGE_TASK_NAMEThe name of the task that generates a GraphqL that merges several GraphQL schemas- See Also:
- Constant Field Values
-
-
Constructor Details
-
GraphQLPlugin
public GraphQLPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project)- Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-