java.lang.Cloneablepublic class BlockFor extends WaitFor
WaitFor.Unitdescription, location, projectDEFAULT_CHECK_MILLIS, DEFAULT_MAX_WAIT_MILLIS, ONE_DAY, ONE_HOUR, ONE_MILLISECOND, ONE_MINUTE, ONE_SECOND, ONE_WEEK| Constructor | Description |
|---|---|
BlockFor() |
Constructor that takes the name of the task in the task name.
|
BlockFor(java.lang.String taskName) |
Constructor that takes the name of the task in the task name.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addText(java.lang.String message) |
Set the error text; all properties are expanded in the message.
|
protected void |
processTimeout() |
If the wait fails, a BuildException is thrown.
|
add, addAnd, addAvailable, addChecksum, addContains, addEquals, addFilesMatch, addHttp, addIsFalse, addIsFileSelected, addIsReference, addIsSet, addIsTrue, addNot, addOr, addOs, addSocket, addUptodate, countConditions, getConditions, getTaskName, setTaskNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectcalculateCheckEveryMillis, calculateMaxWaitMillis, execute, processSuccess, setCheckEvery, setCheckEveryUnit, setMaxWait, setMaxWaitUnit, setTimeoutPropertypublic BlockFor()
public BlockFor(java.lang.String taskName)
taskName - the name of the task.protected void processTimeout()
throws BuildTimeoutException
processTimeout in class WaitForBuildTimeoutException - on timeout, using the text in textpublic void addText(java.lang.String message)
message - the text to use in a failure message