Class AbstractTaskConfigurationUpgradeTask

    • Constructor Detail

      • AbstractTaskConfigurationUpgradeTask

        protected AbstractTaskConfigurationUpgradeTask​(@NotNull
                                                       @NotNull String shortDescription)
    • Method Detail

      • 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)