Class AbstractTaskConfigurationUpgradeTask

java.lang.Object
com.atlassian.bamboo.upgrade.AbstractUpgradeTask
com.atlassian.bamboo.upgrade.tasks.AbstractTaskConfigurationUpgradeTask
All Implemented Interfaces:
UpgradeTask

public abstract class AbstractTaskConfigurationUpgradeTask extends AbstractUpgradeTask
  • Constructor Details

    • AbstractTaskConfigurationUpgradeTask

      protected AbstractTaskConfigurationUpgradeTask(@NotNull @NotNull String shortDescription)
  • Method Details

    • doUpgrade

      public void doUpgrade() throws Exception
      Description copied from interface: UpgradeTask
      Perform the upgrade.
      Throws:
      Exception - to signalize error during upgrade process
    • upgradeJob

      public void upgradeJob(Job job)
    • jobCanBeSkipped

      protected boolean jobCanBeSkipped(@NotNull @NotNull BuildDefinitionXml buildDefinitionXml)
    • updateTaskDefinition

      protected abstract boolean updateTaskDefinition(TaskDefinition taskDefinition)
      Update task definition. The task may come from deployments or builds.
      Returns:
      false if the task wasn't modified, true otherwise
    • environmentCanBeSkipped

      protected boolean environmentCanBeSkipped(BuildConfiguration buildConfiguration)