Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.groovy.scripts
Class FileScriptSource

    java.lang.Object
      org.gradle.groovy.scripts.FileScriptSource

All Implemented Interfaces:
  ScriptSource

    class FileScriptSource
    extends java.lang.Object

A org.gradle.groovy.scripts.ScriptSource which loads the script from a file.

Constructor Summary
`FileScriptSource(java.lang.String description, File sourceFile)`

Method Summary
`java.lang.String` | `getClassName()`
`java.lang.String` | `getDisplayName()`
`File` | `getSourceFile()`
`java.lang.String` | `getText()`

Methods inherited from class java.lang.Object
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll

Constructor Detail

### FileScriptSource

    public FileScriptSource(java.lang.String description, File sourceFile)

Method Detail

### getClassName

    public java.lang.String getClassName()

### getDisplayName

    public java.lang.String getDisplayName()

### getSourceFile

    public File getSourceFile()

### getText

    public java.lang.String getText()

Groovy Documentation