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.