public class RRun extends RTask
Example :
<r-run>rnorm(10)</r-run>Modifier and Type | Field and Description |
---|---|
private java.lang.String |
code
Code to be run
|
Constructor and Description |
---|
RRun() |
Modifier and Type | Method and Description |
---|---|
void |
addText(java.lang.String text) |
void |
execute()
Runs the code
|
void |
setCode(java.lang.String code) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void addText(java.lang.String text)
text
- set the code to be run by reading the content of the
<r-run> tagpublic void setCode(java.lang.String code)
code
- set the code to be run by reading the code attribute of the
<r-run> tagCopyright © 2009, Romain Francois francoisromain@free.fr