Class RebelDslMain

  • All Implemented Interfaces:
    java.io.Serializable

    public class RebelDslMain
    extends java.lang.Object
    implements java.io.Serializable
    The parent class of the Rebel plugin's DSL extension.
    See Also:
    Serialized Form
    • Constructor Detail

      • RebelDslMain

        public RebelDslMain()
    • Method Detail

      • getPackaging

        @Input
        public java.lang.String getPackaging()
      • setPackaging

        public void setPackaging​(java.lang.String packaging)
      • getWebappDirectory

        @Optional
        @Input
        public java.lang.String getWebappDirectory()
      • setWebappDirectory

        public void setWebappDirectory​(java.lang.String webappDirectory)
      • getRootPath

        @Optional
        @Input
        public java.lang.String getRootPath()
      • setRootPath

        public void setRootPath​(java.lang.String rootPath)
      • getRelativePath

        @Internal
        public java.io.File getRelativePath()
      • getRelativePathName

        @Optional
        @Input
        public java.lang.String getRelativePathName()
      • setRelativePath

        public void setRelativePath​(java.io.File relativePath)
      • getRebelXmlDirectory

        @Optional
        @Input
        public java.lang.String getRebelXmlDirectory()
      • setRebelXmlDirectory

        public void setRebelXmlDirectory​(java.lang.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)
      • getRemoteId

        @Input
        @Optional
        public java.lang.String getRemoteId()
      • setRemoteId

        public void setRemoteId​(java.lang.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

        public void classpath​(groovy.lang.Closure closure)
        Evaluate the 'classpath {..}' block
      • web

        public void web​(groovy.lang.Closure closure)
        Evaluate the 'web {..}' block
      • war

        public void war​(groovy.lang.Closure closure)
        Evaluate the 'war {..}' block
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object