code: public static String[] getAvailableTargetIds() {
          Configuration config = ConfigUtils.getCurrentConfig();
          if (config != null) {
              return config.getStringArray(AVAILABLE_TARGET_IDS_CONFIG_KEY);
          } else {
              return null;
          }
      }
docs: Returns the list of available target IDs.