public class RebelGenerateTask
extends org.gradle.api.DefaultTask
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME_ADD_RESOURCES_DIR_TO_REBEL_XML |
static java.lang.String |
NAME_ALWAYS_GENERATE |
static java.lang.String |
NAME_DEFAULT_CLASSES_DIRECTORY |
static java.lang.String |
NAME_DEFAULT_RESOURCES_DIRECTORY |
static java.lang.String |
NAME_REBEL_XML_DIRECTORY |
static java.lang.String |
NAME_SHOW_GENERATED |
static java.lang.String |
NAME_WAR_SOURCE_DIRECTORY |
static java.lang.String |
PACKAGING_TYPE_JAR |
static java.lang.String |
PACKAGING_TYPE_WAR |
Constructor and Description |
---|
RebelGenerateTask() |
Modifier and Type | Method and Description |
---|---|
void |
generate()
The actual invocation of our plugin task.
|
java.lang.Boolean |
getAddResourcesDirToRebelXml() |
java.lang.Boolean |
getAddResourcesDirToRebelXml$MAGIC() |
java.lang.Boolean |
getAlwaysGenerate() |
java.lang.Boolean |
getAlwaysGenerate$MAGIC() |
RebelClasspath |
getClasspath() |
java.io.File |
getConfiguredRelativePath() |
RebelClasspath |
getConfiguredResourcesClasspath() |
java.lang.String |
getConfiguredRootPath() |
java.io.File |
getDefaultClassesDirectory() |
java.io.File |
getDefaultClassesDirectory$MAGIC() |
java.io.File |
getDefaultResourcesDirectory() |
java.io.File |
getDefaultResourcesDirectory$MAGIC() |
java.lang.String |
getPackaging() |
RebelMainModel |
getRebelModel()
Getter for the functional tests to examine the model
|
java.io.File |
getRebelXmlDirectory() |
java.io.File |
getRebelXmlDirectory$MAGIC() |
java.lang.Boolean |
getShowGenerated() |
java.lang.Boolean |
getShowGenerated$MAGIC() |
RebelWar |
getWar() |
java.io.File |
getWarSourceDirectory() |
java.io.File |
getWarSourceDirectory$MAGIC() |
RebelWeb |
getWeb() |
java.io.File |
getWebappDirectory() |
void |
propagateConventionMappingSettings()
Let the convention-mappings propagate its settings to me through the magic getters,
save copies of them locally into normal instance variables.
|
void |
setClasspath(RebelClasspath path) |
void |
setConfiguredRelativePath(java.io.File path) |
void |
setConfiguredResourcesClasspath(RebelClasspath rebelPath) |
void |
setConfiguredRootPath(java.lang.String path) |
void |
setPackaging(java.lang.String packaging) |
void |
setShowGenerated(java.lang.Boolean showGenerated) |
void |
setWar(RebelWar _war) |
void |
setWeb(RebelWeb web) |
void |
setWebappDirectory(java.io.File webappDirectory) |
void |
skipWritingRebelXml()
Only for automated tests! Tests should not try to write the actual file.
|
addValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getGroup, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getStandardOutputCapture, getState, getStateInternal, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setGroup, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, toString
public static final java.lang.String PACKAGING_TYPE_JAR
public static final java.lang.String PACKAGING_TYPE_WAR
public static final java.lang.String NAME_ADD_RESOURCES_DIR_TO_REBEL_XML
public static final java.lang.String NAME_ALWAYS_GENERATE
public static final java.lang.String NAME_DEFAULT_CLASSES_DIRECTORY
public static final java.lang.String NAME_DEFAULT_RESOURCES_DIRECTORY
public static final java.lang.String NAME_REBEL_XML_DIRECTORY
public static final java.lang.String NAME_SHOW_GENERATED
public static final java.lang.String NAME_WAR_SOURCE_DIRECTORY
public java.lang.String getConfiguredRootPath()
public void setConfiguredRootPath(java.lang.String path)
public java.io.File getConfiguredRelativePath()
public void setConfiguredRelativePath(java.io.File path)
public RebelClasspath getConfiguredResourcesClasspath()
public void setConfiguredResourcesClasspath(RebelClasspath rebelPath)
public java.lang.String getPackaging()
public void setPackaging(java.lang.String packaging)
public java.lang.Boolean getShowGenerated()
public void setShowGenerated(java.lang.Boolean showGenerated)
public java.io.File getWarSourceDirectory()
public RebelClasspath getClasspath()
public void setClasspath(RebelClasspath path)
public RebelWeb getWeb()
public void setWeb(RebelWeb web)
public java.io.File getWebappDirectory()
public void setWebappDirectory(java.io.File webappDirectory)
public RebelWar getWar()
public void setWar(RebelWar _war)
public java.lang.Boolean getAddResourcesDirToRebelXml()
public java.lang.Boolean getAlwaysGenerate()
public java.io.File getDefaultClassesDirectory()
public java.io.File getDefaultResourcesDirectory()
public java.io.File getRebelXmlDirectory()
public RebelMainModel getRebelModel()
public void skipWritingRebelXml()
public void generate()
public java.lang.Boolean getAddResourcesDirToRebelXml$MAGIC()
public java.lang.Boolean getAlwaysGenerate$MAGIC()
public java.io.File getDefaultClassesDirectory$MAGIC()
public java.io.File getDefaultResourcesDirectory$MAGIC()
public java.io.File getRebelXmlDirectory$MAGIC()
public java.lang.Boolean getShowGenerated$MAGIC()
public java.io.File getWarSourceDirectory$MAGIC()
public void propagateConventionMappingSettings()