Class RebelDslMain

java.lang.Object
org.zeroturnaround.jrebel.gradle.dsl.RebelDslMain
All Implemented Interfaces:
Serializable

public class RebelDslMain extends Object implements Serializable
The parent class of the Rebel plugin's DSL extension.
See Also:
  • Constructor Details

    • RebelDslMain

      public RebelDslMain()
  • Method Details

    • getPackaging

      @Input public String getPackaging()
    • setPackaging

      public void setPackaging(String packaging)
    • getWebappDirectory

      @Optional @Input public String getWebappDirectory()
    • setWebappDirectory

      public void setWebappDirectory(String webappDirectory)
    • getWeb

      @Optional public RebelDslWeb getWeb()
    • setWeb

      public void setWeb(RebelDslWeb _web)
    • getClasspath

      @Optional public RebelDslClasspath getClasspath()
    • setClasspath

      public void setClasspath(RebelDslClasspath _classpath)
    • getRootPath

      @Optional @Input public String getRootPath()
    • setRootPath

      public void setRootPath(String rootPath)
    • getRelativePath

      @Internal public File getRelativePath()
    • getRelativePathName

      @Optional @Input public String getRelativePathName()
    • setRelativePath

      public void setRelativePath(File relativePath)
    • getRebelXmlDirectory

      @Optional @Input public String getRebelXmlDirectory()
    • setRebelXmlDirectory

      public void setRebelXmlDirectory(String rebelXmlDirectory)
    • getShowGenerated

      @Input public boolean getShowGenerated()
    • setShowGenerated

      public void setShowGenerated(boolean showGenerated)

      Display the generated xml configuration files in gradle output under lifecycle level

      default: false
    • getAlwaysGenerate

      @Input public boolean getAlwaysGenerate()
    • setAlwaysGenerate

      public void setAlwaysGenerate(boolean alwaysGenerate)
    • getWar

      @Optional public RebelDslWar getWar()
    • setWar

      public void setWar(RebelDslWar war)
    • getRemoteId

      @Input @Optional public String getRemoteId()
    • setRemoteId

      public void setRemoteId(String remoteId)

      Set the remote id in rebel.xml and rebel-remote.xml files. The JRebel IDE plugin must find a matching id in the corresponding xml configuration file under project sources.

      Warning: Resulting id in rebel-remote.xml may have certain characters and words filtered out

      default: dot-separated path (example: myproject.mymodule.main)
    • getGenerateRebelRemote

      @Input public boolean getGenerateRebelRemote()
    • setGenerateRebelRemote

      public void setGenerateRebelRemote(boolean generateRebelRemote)

      Generate a rebel-remote.xml file that is required for JRebel Remote functionality.

      The id in this file identifies the application or library on the remote server. The default value may be overridden using setRemoteId(java.lang.String). The JRebel IDE plugin will use the id in the same file under project sources when syncing.

      default: false
    • classpath

      @Deprecated public void classpath(groovy.lang.Closure closure)
      Deprecated.
      Evaluate the 'classpath {..}' block. Groovy only
    • classpath

      public void classpath(org.gradle.api.Action<RebelDslClasspath> action)
      Evaluate the 'classpath {..}' block.
    • web

      @Deprecated public void web(groovy.lang.Closure closure)
      Deprecated.
      Evaluate the 'web {..}' block. Groovy only
    • web

      public void web(org.gradle.api.Action<RebelDslWeb> action)
      Evaluate the 'web {..}' block.
    • war

      @Deprecated public void war(groovy.lang.Closure closure)
      Deprecated.
      Evaluate the 'war {..}' block. Groovy only
    • war

      public void war(org.gradle.api.Action<RebelDslWar> action)
      Evaluate the 'war {..}' block.
    • toString

      public String toString()
      Overrides:
      toString in class Object