protected void registerCatalog(UpgradeCatalog upgradeCatalog) {
    upgradeCatalogMap.put(upgradeCatalog.getTargetVersion(), upgradeCatalog);
  }
Every subclass needs to register itself
ambari-server/src/main/java/org/apache/ambari/server/upgrade/AbstractUpgradeCatalog.java