Class RExecTask.RExecRead
java.lang.Object
org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecSubTask
org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecRead
- Enclosing class:
RExecTask
Reads the output from the connected server
until the required string is found or we time out.
-
Field Summary
Fields inherited from class org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecSubTask
taskString
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(RExecTask.AntRExecClient rexec) Execute the read exec task.void
setDefaultTimeout
(Integer defaultTimeout) Sets the default timeout if none has been set alreadyvoid
a timeout value that overrides any task wide timeout.Methods inherited from class org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecSubTask
addText, setString
-
Constructor Details
-
RExecRead
public RExecRead()
-
-
Method Details
-
execute
Execute the read exec task.- Overrides:
execute
in classRExecTask.RExecSubTask
- Parameters:
rexec
- the task to use- Throws:
BuildException
- on error
-
setTimeout
a timeout value that overrides any task wide timeout.- Parameters:
i
- anInteger
value
-
setDefaultTimeout
Sets the default timeout if none has been set already- Parameters:
defaultTimeout
- anInteger
value
-