Class TelnetTask.TelnetWrite
java.lang.Object
org.apache.tools.ant.taskdefs.optional.net.TelnetTask.TelnetSubTask
org.apache.tools.ant.taskdefs.optional.net.TelnetTask.TelnetWrite
-
Field Summary
Fields inherited from class org.apache.tools.ant.taskdefs.optional.net.TelnetTask.TelnetSubTask
taskString
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.apache.tools.ant.taskdefs.optional.net.TelnetTask.TelnetSubTask
addText, setString
-
Constructor Details
-
TelnetWrite
public TelnetWrite()
-
-
Method Details
-
execute
Execute the write task.- Overrides:
execute
in classTelnetTask.TelnetSubTask
- Parameters:
telnet
- 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
- aboolean
value
-