Package com.egoge.ai.atlas.plugin
Class AtlasAccept
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
com.egoge.ai.atlas.plugin.AtlasAccept
- All Implemented Interfaces:
Comparable<org.gradle.api.Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.Named,org.gradle.api.plugins.ExtensionAware,org.gradle.api.Task,org.gradle.util.Configurable<org.gradle.api.Task>
@DisableCachingByDefault(because="Writes the committed baseline, a source file")
public abstract class AtlasAccept
extends org.gradle.api.DefaultTask
atlasAccept (FR-015): writes the contract of the current sources to the baseline. Its
input is a compilation of the main sources without the contract options, so it succeeds while
the gate or lock mode fails the build. Only this task writes the baseline.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Task
org.gradle.api.Task.Namer -
Field Summary
Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.file.RegularFilePropertyThe baseline file to write.abstract org.gradle.api.file.ConfigurableFileCollectionThe class output of the compilation without the contract options.The accept compilation's effective-Aoptions, last value winning: the REST base path and major of the empty document, including an override the build adds to the compiler arguments after theagenticextension's.abstract org.gradle.api.file.ConfigurableFileCollectionTheannotationProcessorclasspath the accept step is loaded from.abstract org.gradle.api.provider.Property<String>The processor on theannotationProcessorclasspath, named when this plugin cannot run it.protected abstract org.gradle.workers.WorkerExecutorMethods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceMethods inherited from class org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.api.Task
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
-
Constructor Details
-
AtlasAccept
public AtlasAccept()
-
-
Method Details
-
getClassesDirs
@InputFiles @PathSensitive(RELATIVE) public abstract org.gradle.api.file.ConfigurableFileCollection getClassesDirs()The class output of the compilation without the contract options. -
getProcessorClasspath
@Classpath public abstract org.gradle.api.file.ConfigurableFileCollection getProcessorClasspath()TheannotationProcessorclasspath the accept step is loaded from. -
getBaseline
@Internal public abstract org.gradle.api.file.RegularFileProperty getBaseline()The baseline file to write. Not an@OutputFile: the task declares no outputs, so it is never up-to-date and accepting always rewrites the baseline, even one edited by hand. -
getCompilerArguments
The accept compilation's effective-Aoptions, last value winning: the REST base path and major of the empty document, including an override the build adds to the compiler arguments after theagenticextension's. -
getProcessorVersion
The processor on theannotationProcessorclasspath, named when this plugin cannot run it. -
getWorkerExecutor
@Inject protected abstract org.gradle.workers.WorkerExecutor getWorkerExecutor()
-