public class RoutesCompile extends SourceTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
RoutesCompile(WorkerExecutor workerExecutor) |
| Modifier and Type | Method and Description |
|---|---|
ListProperty<String> |
getAdditionalImports()
Returns the additional imports of the Play Routes compiler.
|
Property<Boolean> |
getGenerateReverseRoutes()
Whether a reverse router should be generated.
|
Property<Boolean> |
getInjectedRoutesGenerator()
Is the injected routes generator (
play.routes.compiler.InjectedRoutesGenerator) used for
generating routes? |
Property<Boolean> |
getNamespaceReverseRouter()
Whether the reverse router should be namespaced.
|
Property<Directory> |
getOutputDirectory()
Returns the directory to generate the parser source files into.
|
Property<PlayPlatform> |
getPlatform() |
ConfigurableFileCollection |
getRoutesCompilerClasspath() |
FileTree |
getSource() |
boolean |
isJavaProject() |
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSetFactory, include, include, include, include, setExcludes, setIncludes, setSource, setSource, sourceconventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@Inject public RoutesCompile(WorkerExecutor workerExecutor)
@PathSensitive(value=RELATIVE) public FileTree getSource()
getSource in class SourceTask@OutputDirectory public Property<Directory> getOutputDirectory()
@Input public ListProperty<String> getAdditionalImports()
@Classpath @PathSensitive(value=RELATIVE) public ConfigurableFileCollection getRoutesCompilerClasspath()
@Internal public boolean isJavaProject()
@Internal public Property<PlayPlatform> getPlatform()
@Input public Property<Boolean> getNamespaceReverseRouter()
@Input public Property<Boolean> getGenerateReverseRoutes()
@Input public Property<Boolean> getInjectedRoutesGenerator()
play.routes.compiler.InjectedRoutesGenerator) used for
generating routes? Default is false.