Class ElasticsearchIndexUpgradeOperation

java.lang.Object
org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation<Target>
org.craftercms.deployer.impl.upgrade.operations.ElasticsearchIndexUpgradeOperation
All Implemented Interfaces:
org.craftercms.commons.upgrade.UpgradeOperation<Target>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class ElasticsearchIndexUpgradeOperation extends org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation<Target>
Implementation of UpgradeOperation that recreates an index Elasticsearch
Since:
3.1.8
Author:
joseross
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected static final String
     

    Fields inherited from class org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation

    applicationContext, currentVersion, enabled, logger, nextVersion
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    containsProcessor(org.apache.commons.configuration2.HierarchicalConfiguration<?> config)
     
    protected void
    doExecute(org.craftercms.commons.upgrade.impl.UpgradeContext<Target> context)
     

    Methods inherited from class org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation

    doInit, execute, init, loadResource, setApplicationContext, setEnabled

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ElasticsearchIndexUpgradeOperation

      public ElasticsearchIndexUpgradeOperation()
  • Method Details

    • containsProcessor

      protected boolean containsProcessor(org.apache.commons.configuration2.HierarchicalConfiguration<?> config)
    • doExecute

      protected void doExecute(org.craftercms.commons.upgrade.impl.UpgradeContext<Target> context) throws Exception
      Specified by:
      doExecute in class org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation<Target>
      Throws:
      Exception