Package com.google.appengine.tools.admin
Class UpdateProgressEvent
java.lang.Object
com.google.appengine.tools.admin.UpdateProgressEvent
Received by an
UpdateListener
periodically during an operation to indicate progress.-
Constructor Summary
ConstructorsConstructorDescriptionUpdateProgressEvent(Thread updateThread, String message, int percentageComplete) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Cancels the operation.Retrieves the current status message.intRetrieves the current percentage complete.
-
Constructor Details
-
UpdateProgressEvent
-
-
Method Details
-
cancel
public void cancel()Cancels the operation. Arollbackis implicitly issued. -
getMessage
Retrieves the current status message.- Returns:
- a not
nullstatus message.
-
getPercentageComplete
public int getPercentageComplete()Retrieves the current percentage complete.- Returns:
- a number inclusively between 0 and 100.
-