|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecSubTask org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecRead
public class RExecTask.RExecRead
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 | |
---|---|
RExecTask.RExecRead()
|
Method Summary | |
---|---|
void |
execute(RExecTask.AntRExecClient rexec)
Execute the read exec task. |
void |
setDefaultTimeout(java.lang.Integer defaultTimeout)
Sets the default timeout if none has been set already |
void |
setTimeout(java.lang.Integer i)
a timeout value that overrides any task wide timeout. |
Methods inherited from class org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecSubTask |
---|
addText, setString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RExecTask.RExecRead()
Method Detail |
---|
public void execute(RExecTask.AntRExecClient rexec) throws BuildException
execute
in class RExecTask.RExecSubTask
rexec
- the task to use
BuildException
- on errorpublic void setTimeout(java.lang.Integer i)
i
- an Integer
valuepublic void setDefaultTimeout(java.lang.Integer defaultTimeout)
defaultTimeout
- an Integer
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |