Package: org.gradle.language.twirl

## [Java] Interface TwirlSourceSet

- org.gradle.api.Buildable

- All Superinterfaces:
    ComponentSpec, Named, LanguageSourceSet, Buildable

  Represents a source set containing twirl templates

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `TwirlImports` | `getDefaultImports()` The default imports that should be added to generated source files
    `void` | `setDefaultImports(TwirlImports defaultImports)` Sets the default imports that should be added to generated source files to the given language

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface LanguageSourceSet` | `generatedBy, getParentName, getSource`
    `interface BuildableComponentSpec` | `builtBy, getBuildTask, setBuildTask, hasBuildDependencies, getBuildDependencies, getDisplayName, getProjectPath, getName`

- - ### Method Detail

    - #### public TwirlImports getDefaultImports()

      The default imports that should be added to generated source files

    - #### public void setDefaultImports(TwirlImports defaultImports)

      Sets the default imports that should be added to generated source files to the given language