Class RebelDslMain
java.lang.Object
org.zeroturnaround.jrebel.gradle.dsl.RebelDslMain
- All Implemented Interfaces:
Serializable
The parent class of the Rebel plugin's DSL extension.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclasspath(groovy.lang.Closure closure) Deprecated.voidclasspath(org.gradle.api.Action<RebelDslClasspath> action) Evaluate the 'classpath {..}' block.booleanbooleanbooleangetWar()getWeb()voidsetAlwaysGenerate(boolean alwaysGenerate) voidsetClasspath(RebelDslClasspath _classpath) voidsetGenerateRebelRemote(boolean generateRebelRemote) Generate a rebel-remote.xml file that is required for JRebel Remote functionality.voidsetPackaging(String packaging) voidsetRebelXmlDirectory(String rebelXmlDirectory) voidsetRelativePath(File relativePath) voidsetRemoteId(String remoteId) Set the remote id in rebel.xml and rebel-remote.xml files.voidsetRootPath(String rootPath) voidsetShowGenerated(boolean showGenerated) Display the generated xml configuration files in gradle output underlifecyclelevelvoidsetWar(RebelDslWar war) voidsetWeb(RebelDslWeb _web) voidsetWebappDirectory(String webappDirectory) toString()voidwar(groovy.lang.Closure closure) Deprecated.voidwar(org.gradle.api.Action<RebelDslWar> action) Evaluate the 'war {..}' block.voidweb(groovy.lang.Closure closure) Deprecated.voidweb(org.gradle.api.Action<RebelDslWeb> action) Evaluate the 'web {..}' block.
-
Constructor Details
-
RebelDslMain
public RebelDslMain()
-
-
Method Details
-
getPackaging
-
setPackaging
-
getWebappDirectory
-
setWebappDirectory
-
getWeb
-
setWeb
-
getClasspath
-
setClasspath
-
getRootPath
-
setRootPath
-
getRelativePath
-
getRelativePathName
-
setRelativePath
-
getRebelXmlDirectory
-
setRebelXmlDirectory
-
getShowGenerated
@Input public boolean getShowGenerated() -
setShowGenerated
public void setShowGenerated(boolean showGenerated) Display the generated xml configuration files in gradle output under
default: falselifecyclelevel -
getAlwaysGenerate
@Input public boolean getAlwaysGenerate() -
setAlwaysGenerate
public void setAlwaysGenerate(boolean alwaysGenerate) -
getWar
-
setWar
-
getRemoteId
-
setRemoteId
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
default: falsesetRemoteId(java.lang.String). The JRebel IDE plugin will use the id in the same file under project sources when syncing. -
classpath
Deprecated.Evaluate the 'classpath {..}' block. Groovy only -
classpath
Evaluate the 'classpath {..}' block. -
web
Deprecated.Evaluate the 'web {..}' block. Groovy only -
web
Evaluate the 'web {..}' block. -
war
Deprecated.Evaluate the 'war {..}' block. Groovy only -
war
Evaluate the 'war {..}' block. -
toString
-