Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

UpdateProgressEvent

Stay organized with collections Save and categorize content based on your preferences.
com.google.appengine.tools.admin

Class UpdateProgressEvent

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


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

      Constructors 
      Constructor and Description
      UpdateProgressEvent(java.lang.Thread updateThread, java.lang.String message, int percentageComplete) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void cancel()
      Cancels the operation.
      java.lang.String getMessage()
      Retrieves the current status message.
      int getPercentageComplete()
      Retrieves the current percentage complete.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UpdateProgressEvent

        public UpdateProgressEvent(java.lang.Thread updateThread,
                                   java.lang.String message,
                                   int percentageComplete)
    • Method Detail

      • cancel

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

        public java.lang.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.