Class AdminSearchEngineProcess

    • Constructor Detail

      • AdminSearchEngineProcess

        public AdminSearchEngineProcess​(AdminSearchEnginesHandler.Action action)
        Parameters:
        action - action to be run
        Since:
        jcms-10.0.8 JCMS-9179
    • Method Detail

      • setTotalStep

        public void setTotalStep​(int totalStepNbr)
        Description copied from class: BackgroundProcess
        Set the total number of step that this BackgroundProcess will do before reaching completion.

        Implementation detail : If this call changes the progress percentage, it triggers an update in database of the BackgroundProcessInfo used to track the process progress

        Overrides:
        setTotalStep in class BackgroundProcess
        Parameters:
        totalStepNbr - a number of steps
        Since:
        jcms-10.0.8 JCMS-9179
      • incrementStep

        public void incrementStep()
        Description copied from class: BackgroundProcess
        Increment the step number of this processing by one.

        Implementation detail : If this step changes the progress percentage, it triggers an update in database of the BackgroundProcessInfo used to track the process progress

        Overrides:
        incrementStep in class BackgroundProcess
        Since:
        jcms-10.0.8 JCMS-9179
      • setCurrentStep

        public void setCurrentStep​(int stepNbr)
        Description copied from class: BackgroundProcess
        Set the current step number of this processing.

        Implementation detail : If this step changes the progress percentage, it triggers an update in database of the BackgroundProcessInfo used to track the process progress

        Overrides:
        setCurrentStep in class BackgroundProcess
        Parameters:
        stepNbr - the step number to set
        Since:
        jcms-10.0.8 JCMS-9179
      • getLabelProp

        public java.lang.String getLabelProp()
        Description copied from class: BackgroundProcess
        Retrieve the I18N property key to use to provide the I18Ned label of this BackgroundProcess to the user.
        Overrides:
        getLabelProp in class BackgroundProcess
        Returns:
        a property
        Since:
        jcms-10.0.8 JCMS-9179