org.apache.tools.ant.taskdefs.optional.net

Class RExecTask.RExecWrite

Enclosing Class:
RExecTask

public class RExecTask.RExecWrite
extends RExecTask.RExecSubTask

Sends text to the connected server

Field Summary

Fields inherited from class org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecSubTask

taskString

Method Summary

void
execute(RExecTask.AntRExecClient rexec)
Execute the write exec task.
void
setEcho(boolean b)
Whether or not the message should be echoed to the log.

Methods inherited from class org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecSubTask

addText, execute, setString

Method Details

execute

public void execute(RExecTask.AntRExecClient rexec)
            throws BuildException
Execute the write exec task.
Overrides:
execute in interface RExecTask.RExecSubTask
Parameters:
rexec - the task to use
Throws:
BuildException - on error

setEcho

public void setEcho(boolean b)
Whether or not the message should be echoed to the log. Defaults to true.
Parameters:
b - a boolean value