public class BlockFor extends WaitFor
WaitFor.UnitDEFAULT_CHECK_MILLIS, DEFAULT_MAX_WAIT_MILLIS, ONE_DAY, ONE_HOUR, ONE_MILLISECOND, ONE_MINUTE, ONE_SECOND, ONE_WEEKdescription, location, project| Constructor and 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 and 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.
|
calculateCheckEveryMillis, calculateMaxWaitMillis, execute, processSuccess, setCheckEvery, setCheckEveryUnit, setMaxWait, setMaxWaitUnit, setTimeoutPropertyadd, addAnd, addAvailable, addChecksum, addContains, addEquals, addFilesMatch, addHttp, addIsFalse, addIsFileSelected, addIsReference, addIsSet, addIsTrue, addNot, addOr, addOs, addSocket, addUptodate, countConditions, getConditions, getTaskName, setTaskNameclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic 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