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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.gradle.api.file.RegularFileProperty
    The baseline file to write.
    abstract org.gradle.api.file.ConfigurableFileCollection
    The class output of the compilation without the contract options.
    abstract org.gradle.api.provider.MapProperty<String,String>
    The accept compilation's effective -A options, last value winning: the REST base path and major of the empty document, including an override the build adds to the compiler arguments after the agentic extension's.
    abstract org.gradle.api.file.ConfigurableFileCollection
    The annotationProcessor classpath the accept step is loaded from.
    abstract org.gradle.api.provider.Property<String>
    The processor on the annotationProcessor classpath, named when this plugin cannot run it.
    protected abstract org.gradle.workers.WorkerExecutor
     

    Methods 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, usesService

    Methods 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, setImpliesSubProjects

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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()
      The annotationProcessor classpath 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

      @Input public abstract org.gradle.api.provider.MapProperty<String,String> getCompilerArguments()
      The accept compilation's effective -A options, last value winning: the REST base path and major of the empty document, including an override the build adds to the compiler arguments after the agentic extension's.
    • getProcessorVersion

      @Internal public abstract org.gradle.api.provider.Property<String> getProcessorVersion()
      The processor on the annotationProcessor classpath, named when this plugin cannot run it.
    • getWorkerExecutor

      @Inject protected abstract org.gradle.workers.WorkerExecutor getWorkerExecutor()