Class AbstractTaskConfigurationUpgradeTask
java.lang.Object
com.atlassian.bamboo.upgrade.AbstractUpgradeTask
com.atlassian.bamboo.upgrade.tasks.AbstractTaskConfigurationUpgradeTask
- All Implemented Interfaces:
UpgradeTask
-
Field Summary
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractTaskConfigurationUpgradeTask
(@NotNull String shortDescription) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Perform the upgrade.protected boolean
environmentCanBeSkipped
(BuildConfiguration buildConfiguration) protected boolean
jobCanBeSkipped
(@NotNull BuildDefinitionXml buildDefinitionXml) protected abstract boolean
updateTaskDefinition
(TaskDefinition taskDefinition) Update task definition.void
upgradeJob
(Job job) Methods inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
getBuildNumber, getErrors, getShortDescription
-
Constructor Details
-
AbstractTaskConfigurationUpgradeTask
-
-
Method Details
-
doUpgrade
Description copied from interface:UpgradeTask
Perform the upgrade.- Throws:
Exception
- to signalize error during upgrade process
-
upgradeJob
-
jobCanBeSkipped
-
updateTaskDefinition
Update task definition. The task may come from deployments or builds.- Returns:
- false if the task wasn't modified, true otherwise
-
environmentCanBeSkipped
-