public class RSet extends RTask
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
code
Code to be run
|
private java.lang.String |
property
Name of the property to set
|
Constructor and Description |
---|
RSet() |
Modifier and Type | Method and Description |
---|---|
void |
addText(java.lang.String code) |
void |
execute()
Run the R code, grab the result of the last expression and use
the value to set the property
|
void |
setCode(java.lang.String code)
The R code to execute.
|
void |
setProperty(java.lang.String property)
The name of the property to set
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
private java.lang.String code
private java.lang.String property
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void setCode(java.lang.String code)
code
- R expression that must produce a character vectorpublic void setProperty(java.lang.String property)
property
- the name of the property to setpublic void addText(java.lang.String code)
code
- set the code to run by reading the content of the tagCopyright © 2009, Romain Francois francoisromain@free.fr