docs: public boolean notifyProgress(int value, int maximum) {
      this.indeterminant = false;
      this.value = value;
      this.maximum = maximum;
      this.progress = (double) value / (double) maximum;
      return !cancelPending;
    }