Package com.google.appengine.tools.admin
Class UpdateProgressEvent
- java.lang.Object
-
- com.google.appengine.tools.admin.UpdateProgressEvent
-
public class UpdateProgressEvent extends Object
Received by anUpdateListenerperiodically during an operation to indicate progress.
-
-
Constructor Summary
Constructors Constructor Description UpdateProgressEvent(Thread updateThread, String message, int percentageComplete)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()Cancels the operation.StringgetMessage()Retrieves the current status message.intgetPercentageComplete()Retrieves the current percentage complete.
-
-
-
Method Detail
-
cancel
public void cancel()
Cancels the operation. Arollbackis implicitly issued.
-
getMessage
public String 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.
-
-