| Modifier and Type | Field and Description |
|---|---|
| private ScriptRunnerHelper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Path | Returns: an empty Path instance to be configured by Ant.Classpath to be used when searching for classes and resources. |
| public void | |
| public void | setClasspath(Path
an Ant Path object containing the search path. classpath)Set the classpath to be used when searching for classes and resources. |
| public void | setClasspathRef(Reference
a Reference to a Path instance to be used as the classpath
value. r)Set the classpath by reference. |
| public void | setEncoding(String
the encoding of the file containing the script source. encoding)Set the encoding of the script from an external file; optional. |
| public void | setLanguage(String
the scripting language name for the script. language)Defines the language (required). |
| public void | |
| public void | |
| public void | setProject(Project
the project that this task belongs to. project)
Set the project.
|
| public void | |
| public void |
| helper | back to summary |
|---|---|
| private ScriptRunnerHelper helper | |
| Script | back to summary |
|---|---|
| public Script() | |
| addText | back to summary |
|---|---|
| public void addText(String text) Set the script text.
| |
| createClasspath | back to summary |
|---|---|
| public Path createClasspath() Classpath to be used when searching for classes and resources.
| |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Run the script using the helper object.
| |
| setClasspath | back to summary |
|---|---|
| public void setClasspath(Path classpath) Set the classpath to be used when searching for classes and resources.
| |
| setClasspathRef | back to summary |
|---|---|
| public void setClasspathRef(Reference r) Set the classpath by reference.
| |
| setEncoding | back to summary |
|---|---|
| public void setEncoding(String encoding) Set the encoding of the script from an external file; optional.
| |
| setLanguage | back to summary |
|---|---|
| public void setLanguage(String language) Defines the language (required).
| |
| setManager | back to summary |
|---|---|
| public void setManager(String manager)
Deprecated
Defines the manager.
| |
| setManager | back to summary |
|---|---|
| public void setManager(ScriptManager manager) Set the script manager. | |
| setProject | back to summary |
|---|---|
| public void setProject(Project project) Overrides org. Set the project.
| |
| setSetBeans | back to summary |
|---|---|
| public void setSetBeans(boolean setBeans) Set the setbeans attribute. If this is true, <script> will create variables in the script instance for all properties, targets and references of the current project. It this is false, only the project and self variables will be set. The default is true.
| |
| setSrc | back to summary |
|---|---|
| public void setSrc(String fileName) Load the script from an external file; optional.
| |