Class UpdateProgressEvent


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

      • UpdateProgressEvent

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

      • 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.