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.-
Field Summary
Fields inherited from class com.xebialabs.deployit.server.api.upgrade.Upgrade
askForUpgrade -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.xebialabs.deployit.server.api.upgrade.Upgrade
compareTo, doUpgrade, isAskForUpgrade, shouldBeApplied, toString, upgradeVersionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
doInitializein interfacecom.xebialabs.deployit.server.api.upgrade.RepositoryInitialization
-
getComponent
- Specified by:
getComponentin interfacecom.xebialabs.deployit.server.api.upgrade.RepositoryInitialization
-