Package com.egoge.ai.atlas.plugin
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
Whether REST metadata is honoured. Absent unless set, and then not passed, so a value inoptions.compilerArgs(javac keeps the last-A) stands. -
asArguments
- Specified by:
asArgumentsin interfaceorg.gradle.process.CommandLineArgumentProvider
-