public class BlockFor extends WaitFor
WaitFor.Unit
DEFAULT_CHECK_MILLIS, DEFAULT_MAX_WAIT_MILLIS, ONE_DAY, ONE_HOUR, ONE_MILLISECOND, ONE_MINUTE, ONE_SECOND, ONE_WEEK
description, 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, setTimeoutProperty
add, addAnd, addAvailable, addChecksum, addContains, addEquals, addFilesMatch, addHttp, addIsFalse, addIsFileSelected, addIsReference, addIsSet, addIsTrue, addNot, addOr, addOs, addSocket, addUptodate, countConditions, getConditions, getTaskName, setTaskName
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public BlockFor()
public BlockFor(java.lang.String taskName)
taskName
- the name of the task.protected void processTimeout() throws BuildTimeoutException
processTimeout
in class WaitFor
BuildTimeoutException
- on timeout, using the text in text
public void addText(java.lang.String message)
message
- the text to use in a failure message