/** * Executes the given {@link PageObjectCallbackWithReturnValue callback} with this {@link * PageObject page object} as input and a return value of type B as output. This is a convenience * method for calling the {@link ActionTemplate#executeAction(PageObjectCallbackWithReturnValue)} * method. * * @param <B> the type of the return value of the action * @param callback the callback to execute * @return the return value of the callback * @since 0.9.7 */ public final <B> B executeAction(PageObjectCallbackWithReturnValue<B> callback) { return actionTemplate.executeAction(callback); }
/** * Executes the given {@link PageObjectCallback callback} with this {@link PageObject page object} * as input. This is a convenience method for calling the {@link * ActionTemplate#executeAction(PageObjectCallback)} method. * * @param callback the callback to execute * @since 0.9.7 */ public final void executeAction(PageObjectCallback callback) { actionTemplate.executeAction(callback); }