@NotThreadSafe @PublicApi public interface DelayedBinder<T>
| Modifier and Type | Method and Description |
|---|---|
T |
bind()
Builds, waits for, validates the state of, and returns the page object.
|
boolean |
canBind()
Goes through the full binding, including lifecycle methods, to determine whether the page object can be bound.
|
T |
get() |
DelayedBinder<T> |
inject()
Instantiates, injects, and initialises the page object, but doesn't execute its lifecycle methods.
|
DelayedBinder<T> |
validateState()
Builds, waits for, and validates the state of the page object
|
DelayedBinder<T> |
waitUntil()
Builds the page object and executes its
wait until lifecycle
methods. |
@Nonnull DelayedBinder<T> inject()
@Nonnull DelayedBinder<T> waitUntil()
wait until lifecycle
methods.@Nonnull DelayedBinder<T> validateState()
boolean canBind()
true if the binding was successful, in which case bind() will return the page object
instance without failing@Nonnull T get()
Copyright © 2015 Atlassian. All rights reserved.