Class RebelDslMain
- java.lang.Object
-
- org.zeroturnaround.jrebel.gradle.dsl.RebelDslMain
-
- All Implemented Interfaces:
java.io.Serializable
public class RebelDslMain extends java.lang.Object implements java.io.SerializableThe parent class of the Rebel plugin's DSL extension.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RebelDslMain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclasspath(groovy.lang.Closure closure)Evaluate the 'classpath {..}' blockbooleangetAlwaysGenerate()RebelDslClasspathgetClasspath()booleangetGenerateRebelRemote()java.lang.StringgetPackaging()java.lang.StringgetRebelXmlDirectory()java.io.FilegetRelativePath()java.lang.StringgetRelativePathName()java.lang.StringgetRemoteId()java.lang.StringgetRootPath()booleangetShowGenerated()RebelDslWargetWar()RebelDslWebgetWeb()java.lang.StringgetWebappDirectory()voidsetAlwaysGenerate(boolean alwaysGenerate)voidsetClasspath(RebelDslClasspath _classpath)voidsetGenerateRebelRemote(boolean generateRebelRemote)Generate a rebel-remote.xml file that is required for JRebel Remote functionality.voidsetPackaging(java.lang.String packaging)voidsetRebelXmlDirectory(java.lang.String rebelXmlDirectory)voidsetRelativePath(java.io.File relativePath)voidsetRemoteId(java.lang.String remoteId)Set the remote id in rebel.xml and rebel-remote.xml files.voidsetRootPath(java.lang.String rootPath)voidsetShowGenerated(boolean showGenerated)Display the generated xml configuration files in gradle output underlifecyclelevelvoidsetWar(RebelDslWar war)voidsetWeb(RebelDslWeb _web)voidsetWebappDirectory(java.lang.String webappDirectory)java.lang.StringtoString()voidwar(groovy.lang.Closure closure)Evaluate the 'war {..}' blockvoidweb(groovy.lang.Closure closure)Evaluate the 'web {..}' block
-
-
-
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)
-
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 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
default: falselifecyclelevel
-
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 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
default: falsesetRemoteId(java.lang.String). The JRebel IDE plugin will use the id in the same file under project sources when syncing.
-
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:
toStringin classjava.lang.Object
-
-