Class BaseGeneratePackageTreeTask<P extends BaseWorker.Params,W extends BaseWorker<P>>

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
com.getkeepsafe.dexcount.treegen.BaseGeneratePackageTreeTask<P,W>
All Implemented Interfaces:
Comparable<org.gradle.api.Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Task, org.gradle.util.Configurable<org.gradle.api.Task>
Direct Known Subclasses:
JarPackageTreeTask, LegacyGeneratePackageTreeTask, ModernGeneratePackageTreeTask

public abstract class BaseGeneratePackageTreeTask<P extends BaseWorker.Params,W extends BaseWorker<P>> extends org.gradle.api.DefaultTask
  • 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
    protected void
     
    void
     
    abstract org.gradle.api.provider.Property<DexCountExtension>
    The plugin configuration, as provided by the 'dexcount' block.
    abstract org.gradle.api.file.DirectoryProperty
    The directory in which plugin outputs (the report file, summary file, and charts) will be written.
    abstract org.gradle.api.provider.Property<String>
    The name of the the method-count report file, without a file extension.
    abstract org.gradle.api.file.RegularFileProperty
    The full path to the serialized [PackageTree] produced by this task.
    protected abstract Class<W>
     
    abstract org.gradle.api.file.ConfigurableFileCollection
     
    abstract org.gradle.workers.WorkerExecutor
     
    protected boolean
     

    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, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService

    Methods inherited from class org.gradle.api.internal.AbstractTask

    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

  • Method Details

    • getConfigProperty

      public abstract org.gradle.api.provider.Property<DexCountExtension> getConfigProperty()
      The plugin configuration, as provided by the 'dexcount' block.
    • getOutputFileNameProperty

      @Input public abstract org.gradle.api.provider.Property<String> getOutputFileNameProperty()
      The name of the the method-count report file, without a file extension.
    • getPackageTreeFileProperty

      @NotNull @OutputFile public abstract org.gradle.api.file.RegularFileProperty getPackageTreeFileProperty()
      The full path to the serialized [PackageTree] produced by this task. This file is an intermediate representation, not intended for public consumption. Its format is likely to change without notice.
    • getOutputDirectoryProperty

      @OutputDirectory public abstract org.gradle.api.file.DirectoryProperty getOutputDirectoryProperty()
      The directory in which plugin outputs (the report file, summary file, and charts) will be written.
    • isAndroidProject

      @Internal protected boolean isAndroidProject()
    • getWorkerClasspath

      @Classpath public abstract org.gradle.api.file.ConfigurableFileCollection getWorkerClasspath()
    • getWorkerExecutor

      @Inject public abstract org.gradle.workers.WorkerExecutor getWorkerExecutor()
    • execute

      public void execute()
    • getWorkerClass

      @Internal protected abstract Class<W> getWorkerClass()
    • configureParams

      protected void configureParams(P params)