Class BaseInitializingUpgrade

  • All Implemented Interfaces:
    com.xebialabs.deployit.server.api.upgrade.RepositoryInitialization, java.lang.Comparable<com.xebialabs.deployit.server.api.upgrade.Upgrade>

    public abstract class BaseInitializingUpgrade
    extends com.xebialabs.deployit.server.api.upgrade.Upgrade
    implements com.xebialabs.deployit.server.api.upgrade.RepositoryInitialization
    An Upgrade which is also a RepositoryInitialization. So it will be run both on an empty repository as well as when upgrading to a specific version of a product or plugin.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doInitialize()  
      java.lang.String getComponent()  
      • Methods inherited from class com.xebialabs.deployit.server.api.upgrade.Upgrade

        compareTo, doUpgrade, shouldBeApplied, toString, upgradeVersion
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.xebialabs.deployit.server.api.upgrade.RepositoryInitialization

        getPriority
    • Constructor Detail

      • BaseInitializingUpgrade

        public BaseInitializingUpgrade()
    • Method Detail

      • doInitialize

        public final void doInitialize()
        Specified by:
        doInitialize in interface com.xebialabs.deployit.server.api.upgrade.RepositoryInitialization
      • getComponent

        public final java.lang.String getComponent()
        Specified by:
        getComponent in interface com.xebialabs.deployit.server.api.upgrade.RepositoryInitialization