Class BlockFor
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.taskdefs.condition.ConditionBase
org.apache.tools.ant.taskdefs.WaitFor
org.apache.tools.ant.taskdefs.optional.testing.BlockFor
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.WaitForWaitFor.Unit
- 
Field SummaryFields inherited from class org.apache.tools.ant.taskdefs.WaitForDEFAULT_CHECK_MILLIS, DEFAULT_MAX_WAIT_MILLIS, ONE_DAY, ONE_HOUR, ONE_MILLISECOND, ONE_MINUTE, ONE_SECOND, ONE_WEEKFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidSet the error text; all properties are expanded in the message.protected voidIf the wait fails, a BuildException is thrown.Methods inherited from class org.apache.tools.ant.taskdefs.WaitForcalculateCheckEveryMillis, calculateMaxWaitMillis, execute, processSuccess, setCheckEvery, setCheckEveryUnit, setMaxWait, setMaxWaitUnit, setTimeoutPropertyMethods inherited from class org.apache.tools.ant.taskdefs.condition.ConditionBaseadd, addAnd, addAvailable, addChecksum, addContains, addEquals, addFilesMatch, addHttp, addIsFalse, addIsFileSelected, addIsReference, addIsSet, addIsTrue, addNot, addOr, addOs, addSocket, addUptodate, countConditions, getConditions, getTaskName, setTaskNameMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
- 
Constructor Details- 
BlockForpublic BlockFor()Constructor that takes the name of the task in the task name.
- 
BlockForConstructor that takes the name of the task in the task name.- Parameters:
- taskName- the name of the task.
 
 
- 
- 
Method Details- 
processTimeoutIf the wait fails, a BuildException is thrown. All the superclasses actions are called first.- Overrides:
- processTimeoutin class- WaitFor
- Throws:
- BuildTimeoutException- on timeout, using the text in- text
 
- 
addTextSet the error text; all properties are expanded in the message.- Parameters:
- message- the text to use in a failure message
 
 
-