Package com.egoge.ai.atlas.plugin
Class ContractArguments
java.lang.Object
com.egoge.ai.atlas.plugin.ContractArguments
- All Implemented Interfaces:
org.gradle.process.CommandLineArgumentProvider
public abstract class ContractArguments
extends Object
implements org.gradle.process.CommandLineArgumentProvider
The contract options of the main
compileJava task (FR-016): the baseline's absolute
path and lock mode, and the constraints flag (FR-020) when it is set. The baseline is an input, and a missing file is allowed, so creating,
editing or accepting it re-runs the compilation and with it the gate. Only its content is
fingerprinted: the absolute path appears in the arguments alone, so checkouts in different
directories share build cache entries.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.file.ConfigurableFileCollectionThe baseline file; it may not exist yet.abstract org.gradle.api.provider.Property<Boolean>Whether the generated surfaces carry constraints and hints.abstract org.gradle.api.provider.Property<Boolean>Whether lock mode is on.
-
Constructor Details
-
ContractArguments
public ContractArguments()
-
-
Method Details
-
getBaseline
@InputFiles @PathSensitive(NONE) public abstract org.gradle.api.file.ConfigurableFileCollection getBaseline()The baseline file; it may not exist yet. -
getLocked
Whether lock mode is on. -
getConstraints
Whether the generated surfaces carry constraints and hints. 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
-