org.springframework.build.ant
Class TelnetTask.TelnetWrite

java.lang.Object
  extended by org.springframework.build.ant.TelnetTask.TelnetSubTask
      extended by org.springframework.build.ant.TelnetTask.TelnetWrite
Enclosing class:
TelnetTask

public class TelnetTask.TelnetWrite
extends TelnetTask.TelnetSubTask

Sends text to the connected server


Field Summary
private  boolean echoString
           
 
Fields inherited from class org.springframework.build.ant.TelnetTask.TelnetSubTask
taskString
 
Constructor Summary
TelnetTask.TelnetWrite()
           
 
Method Summary
 void execute(TelnetTask.AntTelnetClient telnet)
          Execute the write task.
 void setEcho(boolean b)
          Whether or not the message should be echoed to the log.
 
Methods inherited from class org.springframework.build.ant.TelnetTask.TelnetSubTask
addText, setString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

echoString

private boolean echoString
Constructor Detail

TelnetTask.TelnetWrite

public TelnetTask.TelnetWrite()
Method Detail

execute

public void execute(TelnetTask.AntTelnetClient telnet)
             throws org.apache.tools.ant.BuildException
Execute the write task.

Overrides:
execute in class TelnetTask.TelnetSubTask
Parameters:
telnet - the task to use
Throws:
org.apache.tools.ant.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