public class DefaultTwirlSourceDirectorySet8 extends org.gradle.api.internal.file.DefaultSourceDirectorySet implements TwirlSourceDirectorySet
patternSetFactory, taskDependencyFactoryDEFAULT_TREE_DISPLAY_NAME| Constructor and Description |
|---|
DefaultTwirlSourceDirectorySet8(org.gradle.api.file.SourceDirectorySet sourceSet,
org.gradle.api.internal.tasks.TaskDependencyFactory taskDependencyFactory,
org.gradle.api.model.ObjectFactory objectFactory) |
| Modifier and Type | Method and Description |
|---|---|
org.gradle.api.provider.ListProperty<String> |
getAdditionalImports()
Returns the list of additional imports to add to the generated Scala code.
|
org.gradle.api.provider.ListProperty<String> |
getConstructorAnnotations()
Gets the list of construtor annotations to support dependency injection
|
org.gradle.api.provider.Property<TwirlImports> |
getDefaultImports()
The default imports that should be added to generated source files.
|
org.gradle.api.provider.ListProperty<TwirlTemplateFormat> |
getUserTemplateFormats()
Returns the custom template formats configured for this source set.
|
TwirlTemplateFormat |
newUserTemplateFormat(String extension,
String templateType,
String... imports)
Creates a new custom template format.
|
compiledBy, exclude, exclude, exclude, exclude, getClassesDirectory, getDestinationDirectory, getDisplayName, getExcludes, getFilter, getIncludes, getName, getSourceDirectories, getSourceTrees, getSrcDirs, getSrcDirTrees, include, include, include, include, setExcludes, setIncludes, setSrcDirs, source, srcDir, srcDirs, visitChildren, visitDependenciesgetAsFileTree, getSourceCollections, matching, matching, matching, plus, visit, visit, visit, visitContentsAsFileTreesaddAsResourceCollection, contains, filter, isEmpty, visitContentsaddAsFileSet, addAsMatchingTask, addToAntBuilder, addToAntBuilder, appendContents, assertCanCarryBuildDependencies, describeContents, filter, getAsFileTrees, getAsPath, getBuildDependencies, getElements, getFiles, getSingleFile, iterator, minus, plus, replace, toString, visitAll, visitStructureclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompiledBy, getClassesDirectory, getDestinationDirectory, getFilter, getName, getSourceDirectories, getSrcDirs, getSrcDirTrees, setSrcDirs, source, srcDir, srcDirsgetAsFileTree, getFiles, matching, matching, matching, plus, visit, visit, visitaddToAntBuilder, addToAntBuilder, contains, filter, filter, getAsPath, getElements, getSingleFile, isEmpty, minus, plusforEach, iterator, spliterator@Inject
public DefaultTwirlSourceDirectorySet8(org.gradle.api.file.SourceDirectorySet sourceSet,
org.gradle.api.internal.tasks.TaskDependencyFactory taskDependencyFactory,
org.gradle.api.model.ObjectFactory objectFactory)
public org.gradle.api.provider.Property<TwirlImports> getDefaultImports()
TwirlSourceDirectorySetgetDefaultImports in interface TwirlSourceDirectorySetpublic org.gradle.api.provider.ListProperty<TwirlTemplateFormat> getUserTemplateFormats()
TwirlSourceDirectorySetgetUserTemplateFormats in interface TwirlSourceDirectorySetpublic TwirlTemplateFormat newUserTemplateFormat(String extension, String templateType, String... imports)
TwirlSourceDirectorySetnewUserTemplateFormat in interface TwirlSourceDirectorySetextension - The file extension this template applies to (e.g., html)templateType - Fully-qualified type for this template formatimports - Additional imports to add for the custom template formatpublic org.gradle.api.provider.ListProperty<String> getAdditionalImports()
TwirlSourceDirectorySetgetAdditionalImports in interface TwirlSourceDirectorySetpublic org.gradle.api.provider.ListProperty<String> getConstructorAnnotations()
TwirlSourceDirectorySetgetConstructorAnnotations in interface TwirlSourceDirectorySet