Class BaseInitializingUpgrade

java.lang.Object
com.xebialabs.deployit.server.api.upgrade.Upgrade
com.xebialabs.xlrelease.upgrade.common.BaseInitializingUpgrade
All Implemented Interfaces:
com.xebialabs.deployit.server.api.upgrade.RepositoryInitialization, 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.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
     
    final String
     

    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 Details

    • BaseInitializingUpgrade

      public BaseInitializingUpgrade()
  • Method Details

    • doInitialize

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

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