Class UpdateProgressEvent

java.lang.Object
com.google.appengine.tools.admin.UpdateProgressEvent

public class UpdateProgressEvent extends Object
Received by an UpdateListener periodically during an operation to indicate progress.
  • Constructor Details

    • UpdateProgressEvent

      public UpdateProgressEvent(Thread updateThread, String message, int percentageComplete)
  • Method Details

    • cancel

      public void cancel()
      Cancels the operation. A rollback is implicitly issued.
    • getMessage

      public String getMessage()
      Retrieves the current status message.
      Returns:
      a not null status message.
    • getPercentageComplete

      public int getPercentageComplete()
      Retrieves the current percentage complete.
      Returns:
      a number inclusively between 0 and 100.