Class WatchTask

  • All Implemented Interfaces:
    java.lang.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>

    @CacheableTask
    public class WatchTask
    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
      WatchTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      WatchTask classLoaderFileExtensions​(java.lang.Iterable<java.lang.String> classLoaderFileExtensions)  
      WatchTask classLoaderFileExtensions​(java.lang.String... classLoaderFileExtensions)  
      java.io.File getBundleDir()  
      java.lang.String getBundleSymbolicName()  
      java.util.Set<java.lang.String> getClassLoaderFileExtensions()  
      org.gradle.api.file.FileCollection getFragments()  
      java.util.Set<java.lang.String> getIgnoredManifestKeys()  
      java.io.File getOutputFile()  
      WatchTask ignoredManifestKeys​(java.lang.Iterable<java.lang.String> ignoredManifestKeys)  
      WatchTask ignoredManifestKeys​(java.lang.String... ignoredManifestKeys)  
      void setBundleDir​(java.lang.Object bundleDir)  
      void setBundleSymbolicName​(java.lang.Object bundleSymbolicName)  
      void setClassLoaderFileExtensions​(java.lang.Iterable<java.lang.String> classLoaderFileExtensions)  
      void setClassLoaderFileExtensions​(java.lang.String... classLoaderFileExtensions)  
      void setFragments​(org.gradle.api.file.FileCollection fragmentsFileCollection)  
      void setIgnoredManifestKeys​(java.lang.Iterable<java.lang.String> ignoredManifestKeys)  
      void setIgnoredManifestKeys​(java.lang.String... ignoredManifestKeys)  
      void watch​(org.gradle.work.InputChanges inputChanges)  
      • 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 Detail

      • WatchTask

        public WatchTask()
    • Method Detail

      • classLoaderFileExtensions

        public WatchTask classLoaderFileExtensions​(java.lang.Iterable<java.lang.String> classLoaderFileExtensions)
      • classLoaderFileExtensions

        public WatchTask classLoaderFileExtensions​(java.lang.String... classLoaderFileExtensions)
      • getBundleDir

        @InputDirectory
        @PathSensitive(RELATIVE)
        public java.io.File getBundleDir()
      • getBundleSymbolicName

        @Input
        public java.lang.String getBundleSymbolicName()
      • getClassLoaderFileExtensions

        @Input
        public java.util.Set<java.lang.String> getClassLoaderFileExtensions()
      • getFragments

        @InputFiles
        @Optional
        @PathSensitive(RELATIVE)
        public org.gradle.api.file.FileCollection getFragments()
      • getIgnoredManifestKeys

        @Input
        public java.util.Set<java.lang.String> getIgnoredManifestKeys()
      • getOutputFile

        @OutputFile
        public java.io.File getOutputFile()
      • ignoredManifestKeys

        public WatchTask ignoredManifestKeys​(java.lang.Iterable<java.lang.String> ignoredManifestKeys)
      • ignoredManifestKeys

        public WatchTask ignoredManifestKeys​(java.lang.String... ignoredManifestKeys)
      • setBundleDir

        public void setBundleDir​(java.lang.Object bundleDir)
      • setBundleSymbolicName

        public void setBundleSymbolicName​(java.lang.Object bundleSymbolicName)
      • setClassLoaderFileExtensions

        public void setClassLoaderFileExtensions​(java.lang.Iterable<java.lang.String> classLoaderFileExtensions)
      • setClassLoaderFileExtensions

        public void setClassLoaderFileExtensions​(java.lang.String... classLoaderFileExtensions)
      • setFragments

        public void setFragments​(org.gradle.api.file.FileCollection fragmentsFileCollection)
      • setIgnoredManifestKeys

        public void setIgnoredManifestKeys​(java.lang.Iterable<java.lang.String> ignoredManifestKeys)
      • setIgnoredManifestKeys

        public void setIgnoredManifestKeys​(java.lang.String... ignoredManifestKeys)
      • watch

        public void watch​(org.gradle.work.InputChanges inputChanges)
                   throws java.io.IOException
        Throws:
        java.io.IOException