public class UpgradeTask5858IncreaseCrowdSessionValidationInterval extends AbstractBootstrapUpgradeTask
applicationConfig, bootstrapManager, hibernateConfig
errors
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, withDatabaseConnection
getBuildNumber, getErrors, getShortDescription
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBuildNumber, getErrors, getShortDescription
public UpgradeTask5858IncreaseCrowdSessionValidationInterval()
public void doUpgrade() throws Exception
UpgradeTask
Exception
- 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.