Class LegacyRebelGenerateTask

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.zeroturnaround.jrebel.gradle.LegacyRebelGenerateTask
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>, BaseRebelGenerateTask

public class LegacyRebelGenerateTask extends org.gradle.api.DefaultTask implements BaseRebelGenerateTask
  • Field Details

  • Constructor Details

    • LegacyRebelGenerateTask

      public LegacyRebelGenerateTask()
  • Method Details

    • getConfiguredRootPath

      @Internal public String getConfiguredRootPath()
    • setConfiguredRootPath

      public void setConfiguredRootPath(String path)
    • getConfiguredRelativePath

      @Internal public File getConfiguredRelativePath()
    • setConfiguredRelativePath

      public void setConfiguredRelativePath(File path)
    • getPackaging

      public String getPackaging()
      Specified by:
      getPackaging in interface BaseRebelGenerateTask
    • setPackaging

      public void setPackaging(String packaging)
    • getShowGenerated

      public boolean getShowGenerated()
      Specified by:
      getShowGenerated in interface BaseRebelGenerateTask
    • setShowGenerated

      public void setShowGenerated(boolean showGenerated)
    • getClasspath

      @Internal public RebelClasspath getClasspath()
    • setClasspath

      public void setClasspath(RebelClasspath path)
    • getWeb

      @Internal public RebelWeb getWeb()
    • setWeb

      public void setWeb(RebelWeb web)
    • getWar

      public RebelWar getWar()
      Specified by:
      getWar in interface BaseRebelGenerateTask
    • setWar

      public void setWar(RebelWar _war)
    • getAlwaysGenerate

      public boolean getAlwaysGenerate()
      Specified by:
      getAlwaysGenerate in interface BaseRebelGenerateTask
    • setAlwaysGenerate

      public void setAlwaysGenerate(boolean alwaysGenerate)
    • getDefaultClassesDirectory

      @Internal public List<File> getDefaultClassesDirectory()
    • getDefaultResourcesDirectory

      @Internal public File getDefaultResourcesDirectory()
    • getDefaultWebappDirectory

      @Internal public File getDefaultWebappDirectory()
    • getRebelXmlDirectory

      @Internal public File getRebelXmlDirectory()
    • getRemoteId

      @Internal public String getRemoteId()
    • setRemoteId

      public void setRemoteId(String remoteId)
    • getGenerateRebelRemote

      @Internal public boolean getGenerateRebelRemote()
    • setGenerateRebelRemote

      public void setGenerateRebelRemote(boolean generateRebelRemote)
    • getRebelModel

      public RebelMainModel getRebelModel()
      Getter for the functional tests to examine the model
      Specified by:
      getRebelModel in interface BaseRebelGenerateTask
    • skipWritingRebelXml

      public void skipWritingRebelXml()
      Only for automated tests! Tests should not try to write the actual file.
      Specified by:
      skipWritingRebelXml in interface BaseRebelGenerateTask
    • setPluginConfigured

      public void setPluginConfigured()
      The RebelPlugin#configure block has been executed
    • generate

      public void generate()
      The actual invocation of our plugin task. Will construct the in-memory model (RebelXmlBuilder), generate the XML output based on it and write the XML into a file-system file (rebel.xml).
      Specified by:
      generate in interface BaseRebelGenerateTask
    • getDefaultClassesDirectories$MAGIC

      @Internal public List<File> getDefaultClassesDirectories$MAGIC()
    • getDefaultResourcesDirectory$MAGIC

      @Internal public File getDefaultResourcesDirectory$MAGIC()
    • getDefaultWebappDirectory$MAGIC

      @Internal public File getDefaultWebappDirectory$MAGIC()
    • getRebelXmlDirectory$MAGIC

      @Internal public File getRebelXmlDirectory$MAGIC()
    • propagateConventionMappingSettings

      public void propagateConventionMappingSettings()
      Let the convention-mappings propagate its settings to me through the magic getters, save copies of them locally into normal instance variables. (public only for unit tests)
      Specified by:
      propagateConventionMappingSettings in interface BaseRebelGenerateTask