1 // Copyright 2008 Google Inc. All Rights Reserved.
3 package com
.google
.appengine
.tools
.admin
;
6 * A listener which receives events during a long running operation that
7 * involves interaction with the server. Implement
8 * this interface to be notified of progress during application update.
10 public interface UpdateListener
{
13 * Called each time some progress is made during the operation.
15 * @param event a not {@code null} event.
17 void onProgress(UpdateProgressEvent event
);
20 * Called if the operation has completed successfully.
22 * @param event a not {@code null} event.
24 void onSuccess(UpdateSuccessEvent event
);
27 * Called if the operation has failed.
29 * @param event a not {@code null} event.
31 void onFailure(UpdateFailureEvent event
);