Class SearchFieldMappingsRegistrations


  • public class SearchFieldMappingsRegistrations
    extends Object
    Eagerly registers all the core mappings defined in SearchFieldMappings at startup. This ensures consistency e.g. if any of the mapping gets redefined by a plugin.
    Since:
    8.6
    • Constructor Detail

      • SearchFieldMappingsRegistrations

        public SearchFieldMappingsRegistrations​(List<SearchIndexAccessor> indexAccessors,
                                                com.atlassian.event.api.EventPublisher eventPublisher)
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • destroy

        @PreDestroy
        public void destroy()
      • register

        public static void register​(FieldMappings mappings)