Extract CollectConfigs class from JobConfigHistoryRootAction.