docs: public void restoreState() {
          if (artifactUploadState.areAllUploadsFinished()) {
              artifactUploadState.clearUploadTempData();
              hideUploadProgressButton();
              upload.setEnabled(true);
          } else if (artifactUploadState.isAtLeastOneUploadInProgress()) {
              showUploadProgressButton();
          }
      }