public class WaitBuilder extends AbstractTestContainerBuilder<Wait>
container, designer, runneraction| Constructor and Description |
|---|
WaitBuilder(TestDesigner designer,
Wait action,
Stack<AbstractActionContainer> containers)
Constructor using designer and action field.
|
WaitBuilder(TestRunner runner,
Wait action)
Constructor using runner and action field.
|
| Modifier and Type | Method and Description |
|---|---|
Wait |
buildAndRun()
Finishes action build process.
|
Wait |
condition(Condition condition)
Condition to wait for during execution.
|
WaitActionConditionBuilder |
execution()
The test action condition to wait for during execution.
|
WaitFileConditionBuilder |
file()
The file condition to wait for during execution.
|
WaitFileConditionBuilder |
file(File file)
Deprecated.
in favor of
file() |
WaitFileConditionBuilder |
file(String filePath)
Deprecated.
in favor of
file() |
WaitHttpConditionBuilder |
http()
The HTTP condition to wait for during execution.
|
WaitHttpConditionBuilder |
http(String url)
Deprecated.
in favor of
http() |
WaitBuilder |
interval(Long interval)
The interval in seconds to use between each test of the condition
|
WaitBuilder |
interval(String interval)
The interval in seconds to use between each test of the condition
|
WaitMessageConditionBuilder |
message()
The message condition to wait for during execution.
|
WaitConditionBuilder |
message(String name)
Deprecated.
in favor of
message() |
WaitBuilder |
milliseconds(Long milliseconds)
The total length of milliseconds to wait on the condition to be satisfied
|
WaitBuilder |
milliseconds(String milliseconds)
The total length of milliseconds to wait on the condition to be satisfied
|
WaitBuilder |
ms(Long milliseconds)
Deprecated.
in favor of
milliseconds(Long) |
WaitBuilder |
ms(String milliseconds)
Deprecated.
in favor of
milliseconds(String) |
WaitBuilder |
seconds(Long seconds)
The total length of seconds to wait on the condition to be satisfied
|
WaitBuilder |
seconds(String seconds)
The total length of seconds to wait on the condition to be satisfied
|
actions, getActionsactor, build, description, execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildpublic WaitBuilder(TestDesigner designer, Wait action, Stack<AbstractActionContainer> containers)
designer - The designer to execute this action inaction - The container to add this action topublic WaitBuilder(TestRunner runner, Wait action)
runner - The test runner to execute this action inaction - The container to add this action topublic Wait condition(Condition condition)
condition - The condition to add to the wait action@Deprecated public WaitHttpConditionBuilder http(String url)
http()public WaitHttpConditionBuilder http()
@Deprecated public WaitConditionBuilder message(String name)
message()name - the message to wait onpublic WaitMessageConditionBuilder message()
public WaitActionConditionBuilder execution()
@Deprecated public WaitFileConditionBuilder file(String filePath)
file()@Deprecated public WaitFileConditionBuilder file(File file)
file()public WaitFileConditionBuilder file()
public WaitBuilder seconds(String seconds)
seconds - The seconds to waitpublic WaitBuilder seconds(Long seconds)
seconds - The seconds to wait@Deprecated public WaitBuilder ms(String milliseconds)
milliseconds(String)milliseconds - The milliseconds to wait@Deprecated public WaitBuilder ms(Long milliseconds)
milliseconds(Long)milliseconds - The milliseconds to waitpublic WaitBuilder milliseconds(String milliseconds)
milliseconds - The milliseconds to waitpublic WaitBuilder milliseconds(Long milliseconds)
milliseconds - The milliseconds to waitpublic WaitBuilder interval(String interval)
interval - The interval to usepublic WaitBuilder interval(Long interval)
interval - The interval to usepublic Wait buildAndRun()
Copyright © 2008–2019 ConSol Software GmbH. All rights reserved.