Class RestArguments

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

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

    • RestArguments

      public RestArguments()
  • Method Details

    • getRest

      @Input @Optional public abstract org.gradle.api.provider.Property<Boolean> getRest()
      Whether REST metadata is honoured. 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