Class CompilerParams

  • All Implemented Interfaces:

    
    public final class CompilerParams
    
                        

    CompilerParams contains all the parameters needed to invoke the apollo compiler.

    The setters are present for backward compatibility with kotlin build scripts and will go away in a future release.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      CompilerParams()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Map<String, ScalarMapping> getScalarsMapping() For custom scalar types like Date, map from the GraphQL type to the java/kotlin type.
      final Unit setScalarsMapping(Map<String, ScalarMapping> scalarsMapping) For custom scalar types like Date, map from the GraphQL type to the java/kotlin type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompilerParams

        CompilerParams()