Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.plugins.antlr
Interface AntlrSourceVirtualDirectory

All Known Implementing Classes:
  AntlrSourceVirtualDirectoryImpl

    public interface AntlrSourceVirtualDirectory

Contract for a Gradle "convention object" that acts as a handler for what I call a virtual directory mapping, injecting a virtual directory named 'antlr' into the project's various `source sets`. Its implementation gets pushed onto the `DynamicObjectAware` portion of the source set under the name 'antlr'.

Field Summary
`static String` | `NAME`

Method Summary
`AntlrSourceVirtualDirectory` | `antlr(Closure configureClosure)` Configures the Antlr source for this set.
`FileTree` | `getAllAntlr()` All Antlr source for this source set.
`SourceDirectorySet` | `getAntlr()` All Antlr source for this source set.

Field Detail

### NAME

    static final String NAME

See Also:
  Constant Field Values

Method Detail

### getAntlr

    SourceDirectorySet getAntlr()

  All Antlr source for this source set.

  Returns:
    The Antlr source. Never returns null.

### antlr

    AntlrSourceVirtualDirectory antlr(Closure configureClosure)

  Configures the Antlr source for this set. The given closure is used to configure the `SourceDirectorySet` (see `getAntlr()`) which contains the Antlr source.

  Parameters:
    `configureClosure` - The closure to use to configure the Antlr source.
  Returns:
    this

### getAllAntlr

    FileTree getAllAntlr()

  All Antlr source for this source set.

  Returns:
    The Antlr source. Never returns null.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD