public class UpgradeTask5858IncreaseCrowdSessionValidationInterval extends AbstractBootstrapUpgradeTask
applicationConfig, bootstrapManager, hibernateConfigerrors| Constructor and Description |
|---|
UpgradeTask5858IncreaseCrowdSessionValidationInterval() |
| Modifier and Type | Method and Description |
|---|---|
void |
doUpgrade()
Perform the upgrade.
|
protected static String |
increaseSessionValidationInterval(String crowdProperties)
Modifies a properties file content, changing the 'session.validationinterval' property to 2 if it's lower.
|
getApplicationBuildNumber, getDatabaseConnection, getDialect, setApplicationConfig, setBootstrapManager, setHibernateConfig, withDatabaseConnectiongetBuildNumber, getErrors, getShortDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBuildNumber, getErrors, getShortDescriptionpublic UpgradeTask5858IncreaseCrowdSessionValidationInterval()
public void doUpgrade()
throws Exception
UpgradeTaskException - to signalize error during upgrade process@NotNull protected static String increaseSessionValidationInterval(@NotNull String crowdProperties)
Supports multiple properties file formats ('=', ':' or ' ' as separators).
crowdProperties - content of 'crowd.properties' file, located in the Bamboo config directoryCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.