Class ExecJar

  • 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 ExecJar
    extends org.gradle.api.DefaultTask
    An implementation of Gradle DefaultTask that provides the functionality for the JarExecPlugin.
    • 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
      ExecJar()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getArgs()  
      org.gradle.api.file.FileCollection getClasspath()  
      java.io.File getJar()  
      java.lang.String getMainClass()  
      java.io.File getWatchInFile()  
      org.gradle.api.file.FileTree getWatchInFiles()  
      java.io.File getWatchOutDir()  
      void setArgs​(org.gradle.api.provider.ListProperty<java.lang.String> args)  
      void setClasspath​(org.gradle.api.provider.Provider<org.gradle.api.file.FileCollection> classpath)  
      void setJar​(org.gradle.api.provider.Provider<java.io.File> jar)  
      void setMainClass​(org.gradle.api.provider.Provider<java.lang.String> mainClass)  
      void setWatchInFile​(org.gradle.api.provider.Provider<java.io.File> watchInFile)  
      void setWatchInFiles​(org.gradle.api.provider.Provider<org.gradle.api.file.FileTree> watchInFiles)  
      void setWatchOutDir​(org.gradle.api.provider.Provider<java.io.File> watchOutDir)  
      • Methods inherited from class org.gradle.api.DefaultTask

        newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
      • Methods inherited from class org.gradle.api.internal.AbstractTask

        appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ExecJar

        public ExecJar()
    • Method Detail

      • getArgs

        @Input
        public java.util.List<java.lang.String> getArgs()
      • setArgs

        public void setArgs​(org.gradle.api.provider.ListProperty<java.lang.String> args)
      • getClasspath

        @Classpath
        @Optional
        public org.gradle.api.file.FileCollection getClasspath()
      • setClasspath

        public void setClasspath​(org.gradle.api.provider.Provider<org.gradle.api.file.FileCollection> classpath)
      • getJar

        @InputFile
        @PathSensitive(RELATIVE)
        public java.io.File getJar()
      • setJar

        public void setJar​(org.gradle.api.provider.Provider<java.io.File> jar)
      • getMainClass

        @Input
        @Optional
        public java.lang.String getMainClass()
      • setMainClass

        public void setMainClass​(org.gradle.api.provider.Provider<java.lang.String> mainClass)
      • getWatchInFile

        @InputFile
        @PathSensitive(RELATIVE)
        @Optional
        public java.io.File getWatchInFile()
      • setWatchInFile

        public void setWatchInFile​(org.gradle.api.provider.Provider<java.io.File> watchInFile)
      • getWatchInFiles

        @InputFiles
        @PathSensitive(RELATIVE)
        @Optional
        public org.gradle.api.file.FileTree getWatchInFiles()
      • setWatchInFiles

        public void setWatchInFiles​(org.gradle.api.provider.Provider<org.gradle.api.file.FileTree> watchInFiles)
      • getWatchOutDir

        @OutputDirectory
        @PathSensitive(RELATIVE)
        @Optional
        public java.io.File getWatchOutDir()
      • setWatchOutDir

        public void setWatchOutDir​(org.gradle.api.provider.Provider<java.io.File> watchOutDir)