org.apache.tools.ant.taskdefs.optional.netClass RExecTask.RExecWrite
- java.lang.Object
- org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecSubTask
- org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecWrite
- Enclosing class:
- RExecTask
public class RExecTask.RExecWrite extends RExecTask.RExecSubTaskSends text to the connected server
Field Summary
Fields inherited from class org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecSubTask
taskString
Constructor Summary
Constructors Constructor and Description RExecWrite()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidexecute(RExecTask.AntRExecClient rexec)Execute the write exec task.voidsetEcho(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, setString
Method Detail
execute
public void execute(RExecTask.AntRExecClient rexec) throws BuildExceptionExecute the write exec task.
- Overrides:
executein classRExecTask.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 totrue.
- Parameters:
b- abooleanvalue