|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.groovy.scripts.FileScriptSource
public class FileScriptSource
A ScriptSource
which loads the script from a file.
Constructor Summary | |
---|---|
FileScriptSource(java.lang.String description,
java.io.File sourceFile)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileScriptSource(java.lang.String description, java.io.File sourceFile)
Method Detail |
---|
public java.lang.String getText()
ScriptSource
getText
in interface ScriptSource
public java.lang.String getClassName()
ScriptSource
getClassName
in interface ScriptSource
public java.io.File getSourceFile()
ScriptSource
getSourceFile
in interface ScriptSource
public java.lang.String getDisplayName()
ScriptSource
getDisplayName
in interface ScriptSource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |