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.groovy.scripts
Interface ScriptSource

All Known Implementing Classes:
  FileScriptSource, ImportsScriptSource, StrictScriptSource, StringScriptSource

    public interface ScriptSource

The source for the text of a script.

Method Summary
`java.lang.String` | `getClassName()` Returns the name to use for the compiled class for this script.
`java.lang.String` | `getDisplayName()` Returns the description for this script.
`java.io.File` | `getSourceFile()` Returns the source file for this script, if any.
`java.lang.String` | `getText()` Returns the text of this script.

Method Detail

### getText

    java.lang.String getText()

  Returns the text of this script. Returns an empty String if this script has no text. Never returns null.

### getClassName

    java.lang.String getClassName()

  Returns the name to use for the compiled class for this script. Never returns null.

### getSourceFile

    java.io.File getSourceFile()

  Returns the source file for this script, if any. Returns null if there is no source file for this script.

### getDisplayName

    java.lang.String getDisplayName()

  Returns the description for this script. 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