Package | Description |
---|---|
com.jayway.awaitility | |
com.jayway.awaitility.core |
Modifier and Type | Field and Description |
---|---|
static Duration |
Duration.FIVE_HUNDRED_MILLISECONDS |
static Duration |
Duration.FIVE_MINUTES |
static Duration |
Duration.FIVE_SECONDS |
static Duration |
Duration.FOREVER |
static Duration |
Duration.ONE_HUNDRED_MILLISECONDS |
static Duration |
Duration.ONE_MINUTE |
static Duration |
Duration.ONE_SECOND |
static Duration |
Duration.SAME_AS_POLL_INTERVAL |
static Duration |
Duration.TEN_MINUTES |
static Duration |
Duration.TEN_SECONDS |
static Duration |
Duration.TWO_HUNDRED_MILLISECONDS |
static Duration |
Duration.TWO_MINUTES |
static Duration |
Duration.TWO_SECONDS |
Modifier and Type | Method and Description |
---|---|
static void |
Awaitility.setDefaultPollDelay(Duration pollDelay)
Sets the default poll delay that all await statements will use.
|
static void |
Awaitility.setDefaultPollInterval(Duration pollInterval)
Sets the default poll interval that all await statements will use.
|
static void |
Awaitility.setDefaultTimeout(Duration defaultTimeout)
Sets the default timeout that all await statements will use.
|
static ConditionFactory |
Awaitility.waitAtMost(Duration timeout)
An alternative to using
Awaitility.await() if you want to specify a timeout
directly. |
Modifier and Type | Method and Description |
---|---|
ConditionFactory |
ConditionFactory.atMost(Duration timeout)
Await at most
timeout before throwing a timeout exception. |
ConditionFactory |
ConditionFactory.pollDelay(Duration pollDelay)
Specify the delay that will be used before Awaitility starts polling for
the result the first time.
|
ConditionFactory |
ConditionFactory.pollInterval(Duration pollInterval)
Specify the polling interval Awaitility will use for this await
statement.
|
ConditionFactory |
ConditionFactory.timeout(Duration timeout)
Await at most
timeout before throwing a timeout exception. |
Constructor and Description |
---|
ConditionFactory(Duration timeout,
Duration pollInterval,
Duration pollDelay,
boolean catchUncaughtExceptions)
Instantiates a new condition factory.
|
ConditionFactory(String alias,
Duration timeout,
Duration pollInterval,
Duration pollDelay,
boolean catchUncaughtExceptions)
Instantiates a new condition factory.
|
Copyright © 2010-2013. All Rights Reserved.