Class ElasticsearchReindex

    • Constructor Detail

      • ElasticsearchReindex

        public ElasticsearchReindex()
    • Method Detail

      • userSettings

        protected co.elastic.clients.elasticsearch.indices.IndexSettings userSettings()
                                                                               throws IOException
        Throws:
        IOException
      • groupSettings

        protected co.elastic.clients.elasticsearch.indices.IndexSettings groupSettings()
                                                                                throws IOException
        Throws:
        IOException
      • anyObjectSettings

        protected co.elastic.clients.elasticsearch.indices.IndexSettings anyObjectSettings()
                                                                                    throws IOException
        Throws:
        IOException
      • realmSettings

        protected co.elastic.clients.elasticsearch.indices.IndexSettings realmSettings()
                                                                                throws IOException
        Throws:
        IOException
      • auditSettings

        protected co.elastic.clients.elasticsearch.indices.IndexSettings auditSettings()
                                                                                throws IOException
        Throws:
        IOException
      • userMapping

        protected co.elastic.clients.elasticsearch._types.mapping.TypeMapping userMapping()
                                                                                   throws IOException
        Throws:
        IOException
      • groupMapping

        protected co.elastic.clients.elasticsearch._types.mapping.TypeMapping groupMapping()
                                                                                    throws IOException
        Throws:
        IOException
      • anyObjectMapping

        protected co.elastic.clients.elasticsearch._types.mapping.TypeMapping anyObjectMapping()
                                                                                        throws IOException
        Throws:
        IOException
      • realmMapping

        protected co.elastic.clients.elasticsearch._types.mapping.TypeMapping realmMapping()
                                                                                    throws IOException
        Throws:
        IOException
      • auditMapping

        protected co.elastic.clients.elasticsearch._types.mapping.TypeMapping auditMapping()
                                                                                    throws IOException
        Throws:
        IOException
      • doExecute

        protected String doExecute​(boolean dryRun,
                                   String executor,
                                   org.quartz.JobExecutionContext context)
                            throws org.quartz.JobExecutionException
        Description copied from class: AbstractSchedTaskJobDelegate
        The actual execution, delegated to child classes.
        Specified by:
        doExecute in class AbstractSchedTaskJobDelegate<SchedTask>
        Parameters:
        dryRun - whether to actually touch the data
        executor - the user executing this task
        context - Quartz' execution context, can be used to pass parameters to the job
        Returns:
        the task execution status to be set
        Throws:
        org.quartz.JobExecutionException - if anything goes wrong