コード例 #1
0
ファイル: PageObject.java プロジェクト: ddg-it/webtester-core
 /**
  * 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);
 }
コード例 #2
0
ファイル: PageObject.java プロジェクト: ddg-it/webtester-core
 /**
  * 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);
 }