Class AbstractOidAddingUpgradeTask
- java.lang.Object
-
- com.atlassian.bamboo.upgrade.AbstractUpgradeTask
-
- com.atlassian.bamboo.upgrade.tasks.v5_14.AbstractOidAddingUpgradeTask
-
- All Implemented Interfaces:
UpgradeTask
- Direct Known Subclasses:
UpgradeTask51402ReseedServerKeyAndOids,UpgradeTask51403FixDeploymentTasksOids
public abstract class AbstractOidAddingUpgradeTask extends AbstractUpgradeTask
-
-
Field Summary
Fields Modifier and Type Field Description protected BambooTransactionHibernateTemplatebambooTransactionHibernateTemplate-
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
-
-
Constructor Summary
Constructors Constructor Description AbstractOidAddingUpgradeTask(@NotNull String shortDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanrecalculateOid(@NotNull EntityWithOid entity, int newServerKey)protected booleansetOidIfMissing(@NotNull EntityWithOid entity)-
Methods inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
getBuildNumber, getErrors, getShortDescription
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.upgrade.UpgradeTask
doUpgrade
-
-
-
-
Field Detail
-
bambooTransactionHibernateTemplate
@Autowired protected BambooTransactionHibernateTemplate bambooTransactionHibernateTemplate
-
-
Constructor Detail
-
AbstractOidAddingUpgradeTask
public AbstractOidAddingUpgradeTask(@NotNull @NotNull String shortDescription)
-
-
Method Detail
-
setOidIfMissing
protected boolean setOidIfMissing(@NotNull @NotNull EntityWithOid entity)
-
recalculateOid
protected boolean recalculateOid(@NotNull @NotNull EntityWithOid entity, int newServerKey)
-
-