| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public Object | |
| public Binding | |
| public Object | getProperty(String
the name of the property of interest property)Overrides default groovy. |
| private boolean | |
| public Object | Returns: valuemethod to call name, Object arguments to pass to the method args)Overrides default groovy. |
| public void | |
| public void | |
| public void | |
| public void | println()
Prints a newline to the current 'out' variable which should be a PrintWriter or at least have a println() method defined on it. |
| public void | |
| public abstract Object | |
| public void | |
| public void | |
| public void | setProperty(String
the name of the property of interest property, Object the new value for the property newValue)Overrides default groovy. |
| binding | back to summary |
|---|---|
| private Binding binding | |
| Script | back to summary |
|---|---|
| protected Script() | |
| Script | back to summary |
|---|---|
| protected Script(Binding binding) | |
| evaluate | back to summary |
|---|---|
| public Object evaluate(String expression) throws CompilationFailedException A helper method to allow the dynamic evaluation of groovy expressions using this scripts binding as the variable scope
| |
| evaluate | back to summary |
|---|---|
| public Object evaluate(File file) throws CompilationFailedException, IOException A helper method to allow the dynamic evaluation of groovy expressions using this scripts binding as the variable scope
| |
| getBinding | back to summary |
|---|---|
| public Binding getBinding() | |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String property) Overrides default groovy. Doc from groovy. Retrieves a property value. | |
| hasSetterMethodFor | back to summary |
|---|---|
| private boolean hasSetterMethodFor(String property) | |
| invokeMethod | back to summary |
|---|---|
| public Object invokeMethod(String name, Object args) Overrides default groovy. Invoke a method (or closure in the binding) defined. | |
| back to summary | |
|---|---|
| public void print(Object value) Prints the value to the current 'out' variable which should be a PrintWriter or at least have a print() method defined on it. If there is no 'out' property then print to standard out. | |
| printf | back to summary |
|---|---|
| public void printf(String format, Object value) Prints a formatted string using the specified format string and argument. | |
| printf | back to summary |
|---|---|
| public void printf(String format, Object[] values) Prints a formatted string using the specified format string and arguments. | |
| println | back to summary |
|---|---|
| public void println() Prints a newline to the current 'out' variable which should be a PrintWriter or at least have a println() method defined on it. If there is no 'out' property then print to standard out. | |
| println | back to summary |
|---|---|
| public void println(Object value) Prints the value and a newline to the current 'out' variable which should be a PrintWriter or at least have a println() method defined on it. If there is no 'out' property then print to standard out. | |
| run | back to summary |
|---|---|
| public abstract Object run() The main instance method of a script which has variables in scope
as defined by the current | |
| run | back to summary |
|---|---|
| public void run(File file, String[] arguments) throws CompilationFailedException, IOException A helper method to allow scripts to be run taking command line arguments | |
| setBinding | back to summary |
|---|---|
| public void setBinding(Binding binding) | |
| setProperty | back to summary |
|---|---|
| public void setProperty(String property, Object newValue) Overrides default groovy. Doc from groovy. Sets the given property to the new value. | |