Class IndexTask

  • Direct Known Subclasses:
    RebuildIndexTask

    public abstract class IndexTask
    extends Task
    Abstract task used to factorize some code shared by different tasks involving indexes.
    • Field Detail

      • backendSet

        protected Set<String> backendSet
        The set of backends that are affected by this task.
      • baseDNs

        protected Set<String> baseDNs
        The set of base DNs that are affected by this task.
    • Constructor Detail

      • IndexTask

        protected IndexTask​(ControlPanelInfo info,
                            ProgressDialog dlg,
                            String baseDN)
        Constructor of the task.
        Parameters:
        info - the control panel information.
        dlg - the progress dialog where the task progress will be displayed.
        baseDN - the base DN where the indexes are defined.
      • IndexTask

        protected IndexTask​(ControlPanelInfo info,
                            ProgressDialog dlg,
                            Collection<String> baseDNs)
        Constructor of the task.
        Parameters:
        info - the control panel information.
        dlg - the progress dialog where the task progress will be displayed.
        baseDNs - the list of base DNs where the indexes are defined.
    • Method Detail

      • getBackends

        public Set<String> getBackends()
        Description copied from class: Task
        Returns the names of the backends that are affected by the task.
        Specified by:
        getBackends in class Task
        Returns:
        the names of the backends that are affected by the task.