code: public static KieScannerStatus mapScannerStatus(InternalKieScanner.Status status) {
          switch (status) {
              case STARTING:
                  return KieScannerStatus.CREATED;
              case RUNNING:
                  return KieScannerStatus.STARTED;
              case SCANNING:
              case UPDATING:
                  return KieScannerStatus.SCANNING;
              case STOPPED:
                  return KieScannerStatus.STOPPED;
              case SHUTDOWN:
                  return KieScannerStatus.DISPOSED;
              default:
                  return KieScannerStatus.UNKNOWN;
          }
      }
docs: Maps the {@link InternalKieScanner.Status} to a scanner status used by KIE Server.
  
  @param status {@link InternalKieScanner.Status} to be converted
  
  @return {@link KieScannerStatus} which maps to the specified {@link InternalKieScanner.Status}