com.atlassian.bamboo.upgrade.tasks
Class UpgradeTask1701BackupScheduleCronExpression

java.lang.Object
  extended by com.atlassian.bamboo.upgrade.AbstractUpgradeTask
      extended by com.atlassian.bamboo.upgrade.tasks.UpgradeTask1701BackupScheduleCronExpression
All Implemented Interfaces:
UpgradeTask

public class UpgradeTask1701BackupScheduleCronExpression
extends AbstractUpgradeTask


Field Summary
 
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
 
Constructor Summary
UpgradeTask1701BackupScheduleCronExpression()
           
 
Method Summary
protected  java.lang.String convertToCronExpression(java.util.Date lastRanDate, java.lang.String frequency, java.lang.String minutes, java.lang.String hours)
           
 void doUpgrade()
          Perform the upgrade.
protected  org.dom4j.Document getAdministrationConfigurationDocument()
           
protected  java.lang.String getCronExpression()
           
 void setAdministrationConfigurationManager(AdministrationConfigurationManager administrationConfigurationManager)
           
 
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
 

Constructor Detail

UpgradeTask1701BackupScheduleCronExpression

public UpgradeTask1701BackupScheduleCronExpression()
Method Detail

doUpgrade

public void doUpgrade()
               throws java.lang.Exception
Description copied from interface: UpgradeTask
Perform the upgrade.

Throws:
java.lang.Exception - to signalize error during upgrade process

getCronExpression

protected java.lang.String getCronExpression()

convertToCronExpression

@NotNull
protected java.lang.String convertToCronExpression(@NotNull
                                                           java.util.Date lastRanDate,
                                                           @NotNull
                                                           java.lang.String frequency,
                                                           @NotNull
                                                           java.lang.String minutes,
                                                           @NotNull
                                                           java.lang.String hours)

getAdministrationConfigurationDocument

@Nullable
protected org.dom4j.Document getAdministrationConfigurationDocument()

setAdministrationConfigurationManager

public void setAdministrationConfigurationManager(AdministrationConfigurationManager administrationConfigurationManager)


Copyright © 2010 Atlassian. All Rights Reserved.