code: protected CmsProject getOfflineIndexProject() {
  
          CmsProject result = null;
          for (I_CmsSearchIndex index : m_offlineIndexes) {
              try {
                  result = m_adminCms.readProject(index.getProject());
  
                  if (!result.isOnlineProject()) {
                      break;
                  }
              } catch (Exception e) {
                  // may be a missconfigured index, ignore
                  LOG.error(e.getLocalizedMessage(), e);
              }
          }
          return result;
      }
docs: Returns the a offline project used for offline indexing.<p>
  
  @return the offline project if available