Class UpgradeTask030SecretEncryption
java.lang.Object
com.codebarrel.jira.plugin.automation.upgradetasks.UpgradeTask030SecretEncryption
- All Implemented Interfaces:
com.atlassian.upgrade.spi.UpgradeTask
@Component
public class UpgradeTask030SecretEncryption
extends Object
implements com.atlassian.upgrade.spi.UpgradeTask
The aim of this upgrade task is to encrypt all existing secret which are stored in plain text.
-
Constructor Summary
ConstructorsConstructorDescriptionUpgradeTask030SecretEncryption(DbConnectionManager dbConnectionManager, RuleSecretTransformer ruleSecretTransformer, RuleSecretStore ruleSecretStore, FeatureManager featureManager, ApplicationProperties applicationProperties) -
Method Summary
Modifier and TypeMethodDescriptionintvoidrunUpgrade(com.atlassian.upgrade.api.UpgradeContext upgradeContext)
-
Constructor Details
-
UpgradeTask030SecretEncryption
@Inject public UpgradeTask030SecretEncryption(DbConnectionManager dbConnectionManager, RuleSecretTransformer ruleSecretTransformer, RuleSecretStore ruleSecretStore, FeatureManager featureManager, ApplicationProperties applicationProperties)
-
-
Method Details
-
getBuildNumber
public int getBuildNumber()- Specified by:
getBuildNumberin interfacecom.atlassian.upgrade.spi.UpgradeTask
-
getShortDescription
- Specified by:
getShortDescriptionin interfacecom.atlassian.upgrade.spi.UpgradeTask
-
runUpgrade
public void runUpgrade(com.atlassian.upgrade.api.UpgradeContext upgradeContext) - Specified by:
runUpgradein interfacecom.atlassian.upgrade.spi.UpgradeTask
-