java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
net.minecraftforge.gradle.tasks.abstractutil.CachedTask
net.minecraftforge.gradle.tasks.abstractutil.ExtractTask
所有已实现的接口:
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>

public class ExtractTask extends CachedTask
  • 嵌套类概要

    从类继承的嵌套类/接口 net.minecraftforge.gradle.tasks.abstractutil.CachedTask

    CachedTask.Cached, CachedTask.Excluded

    从接口继承的嵌套类/接口 org.gradle.api.Named

    org.gradle.api.Named.Namer
  • 字段概要

    从接口继承的字段 org.gradle.api.Task

    TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected boolean
     
    void
     
    void
    exclude(groovy.lang.Closure<Boolean> c)
     
    exclude(String... paterns)
     
    from(DelayedFile... paths)
     
     
    List<groovy.lang.Closure<Boolean>>
     
     
     
    org.gradle.api.file.FileCollection
     
    include(String... paterns)
     
    into(DelayedFile target)
     
    boolean
     
    void
    setClean(boolean clean)
     
     
    void
    setIncludeEmptyDirs(boolean includeEmptyDirs)
     
    boolean
     

    从类继承的方法 net.minecraftforge.gradle.tasks.abstractutil.CachedTask

    doesCache, setDoesCache

    从类继承的方法 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

    从类继承的方法 org.gradle.api.internal.AbstractTask

    acceptServiceReferences, appendParallelSafeAction, doNotTrackState, doNotTrackStateIf, getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonsNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, restoreOnlyIf, restoreTaskActions, setImpliesSubProjects

    从类继承的方法 java.lang.Object

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

    从接口继承的方法 org.gradle.api.Task

    doNotTrackState, notCompatibleWithConfigurationCache
  • 构造器详细资料

    • ExtractTask

      public ExtractTask()
  • 方法详细资料

    • doTask

      public void doTask() throws IOException
      抛出:
      IOException
    • from

      public ExtractTask from(DelayedFile... paths)
    • into

      public ExtractTask into(DelayedFile target)
    • setDestinationDir

      public ExtractTask setDestinationDir(DelayedFile target)
    • getDestinationDir

      public File getDestinationDir()
    • getIncludes

      public List<String> getIncludes()
    • include

      public ExtractTask include(String... paterns)
    • getExcludes

      public List<String> getExcludes()
    • exclude

      public ExtractTask exclude(String... paterns)
    • getExcludeCalls

      public List<groovy.lang.Closure<Boolean>> getExcludeCalls()
    • exclude

      public void exclude(groovy.lang.Closure<Boolean> c)
    • getSourcePaths

      public org.gradle.api.file.FileCollection getSourcePaths()
    • isIncludeEmptyDirs

      public boolean isIncludeEmptyDirs()
    • setIncludeEmptyDirs

      public void setIncludeEmptyDirs(boolean includeEmptyDirs)
    • defaultCache

      protected boolean defaultCache()
      覆盖:
      defaultCache 在类中 CachedTask
    • shouldClean

      public boolean shouldClean()
    • setClean

      public void setClean(boolean clean)