Class ProjectionsArguments

java.lang.Object
com.egoge.ai.atlas.plugin.ProjectionsArguments
All Implemented Interfaces:
org.gradle.process.CommandLineArgumentProvider

public abstract class ProjectionsArguments extends Object implements org.gradle.process.CommandLineArgumentProvider
The projections flag of the main compileJava task, when it is set. Unlike the contract options it also reaches atlasAcceptCompile: the Contract IR records each field's effective channels, which the flag decides, so the accepted baseline must be compiled with it.
  • Constructor Details

    • ProjectionsArguments

      public ProjectionsArguments()
  • Method Details

    • getProjections

      @Input @Optional public abstract org.gradle.api.provider.Property<Boolean> getProjections()
      Whether responses are projected per channel. Absent unless set, and then not passed, so a value in options.compilerArgs (javac keeps the last -A) stands.
    • asArguments

      public Iterable<String> asArguments()
      Specified by:
      asArguments in interface org.gradle.process.CommandLineArgumentProvider