case class CodeGenContext(schema: Schema[Any, Any], targetDirectory: File, graphQLFiles: Seq[File], packageName: String, moduleName: String, jsonCodeGen: JsonCodeGen, imports: Seq[String], preProcessors: Seq[PreProcessor], log: sbt.Logger) extends Product with Serializable
CodeGen Context
Initial context to kickoff code generation.
- schema
the graphql schema
- targetDirectory
the target directory where the source code will be placed
- graphQLFiles
input files that should be processed
- packageName
the scala package name
- moduleName
optional module name for single-file based generators
- imports
list of imports to be added to the generated file
- preProcessors
pre processors that should be applied before the graphql file is parsed
- log
output log
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CodeGenContext
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
CodeGenContext(schema: Schema[Any, Any], targetDirectory: File, graphQLFiles: Seq[File], packageName: String, moduleName: String, jsonCodeGen: JsonCodeGen, imports: Seq[String], preProcessors: Seq[PreProcessor], log: sbt.Logger)
- schema
the graphql schema
- targetDirectory
the target directory where the source code will be placed
- graphQLFiles
input files that should be processed
- packageName
the scala package name
- moduleName
optional module name for single-file based generators
- imports
list of imports to be added to the generated file
- preProcessors
pre processors that should be applied before the graphql file is parsed
- log
output log
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val graphQLFiles: Seq[File]
- val imports: Seq[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val jsonCodeGen: JsonCodeGen
- val log: sbt.Logger
- val moduleName: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val packageName: String
- val preProcessors: Seq[PreProcessor]
- val schema: Schema[Any, Any]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val targetDirectory: File
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()