|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.pageobjects.util.InjectingTestedProducts
public final class InjectingTestedProducts
Manipulating and verifying TestedProducts abilities to inject dependencies.
| Method Summary | |
|---|---|
static ConfigurableInjectionContext |
asConfigurableInjectionContext(TestedProduct<?> product)
Returns configurable injection context associated with given product. |
static InjectionContext |
asInjectionContext(TestedProduct<?> product)
Returns injection context associated with given product. |
static boolean |
supportsConfigurableInjection(TestedProduct<?> product)
Checks whether given product supports injection. |
static boolean |
supportsInjection(TestedProduct<?> product)
Checks whether given product supports injection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean supportsInjection(TestedProduct<?> product)
InjectionContext.
product - product to verify
true if product supports injectionpublic static boolean supportsConfigurableInjection(TestedProduct<?> product)
ConfigurableInjectionContext.
product - product to verify
true if product supports configurable injectionpublic static InjectionContext asInjectionContext(TestedProduct<?> product)
product - product to retrieve context from
IllegalArgumentException - if the product is not providing injection (which can be verified by
calling supportsInjection(com.atlassian.pageobjects.TestedProduct)public static ConfigurableInjectionContext asConfigurableInjectionContext(TestedProduct<?> product)
product - product to retrieve context from
IllegalArgumentException - if the product is not providing configurable injection (which can be verified by
calling supportsConfigurableInjection(com.atlassian.pageobjects.TestedProduct).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||