com.atlassian.crowd.upgrade.tasks
Class UpgradeTask396

java.lang.Object
  extended by com.atlassian.crowd.upgrade.tasks.UpgradeTask396
All Implemented Interfaces:
UpgradeTask

public class UpgradeTask396
extends Object
implements UpgradeTask

Disables caching/monitoring if roles have been enabled.


Field Summary
static String ATTRIBUTE_KEY_USE_CACHING
          ATTRIBUTE_KEY_USE_CACHING constant used to live in DirectoryImpl, but is not used in production any more
static String ATTRIBUTE_KEY_USE_MONITORING
          ATTRIBUTE_KEY_USE_MONITORING constant used to live in DirectoryImpl, but is not used in production any more
 
Constructor Summary
UpgradeTask396()
           
 
Method Summary
 void doUpgrade()
          Perform the upgrade.
 String getBuildNumber()
           
 Collection<String> getErrors()
          Any errors that occur during the upgrade process will be added to this Collection as Strings.
 String getShortDescription()
          A short (<50 chars) description of the upgrade action
 void setDirectoryManager(DirectoryManager directoryManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIBUTE_KEY_USE_CACHING

public static final String ATTRIBUTE_KEY_USE_CACHING
ATTRIBUTE_KEY_USE_CACHING constant used to live in DirectoryImpl, but is not used in production any more

See Also:
Constant Field Values

ATTRIBUTE_KEY_USE_MONITORING

public static final String ATTRIBUTE_KEY_USE_MONITORING
ATTRIBUTE_KEY_USE_MONITORING constant used to live in DirectoryImpl, but is not used in production any more

See Also:
Constant Field Values
Constructor Detail

UpgradeTask396

public UpgradeTask396()
Method Detail

getBuildNumber

public String getBuildNumber()
Specified by:
getBuildNumber in interface UpgradeTask
Returns:
The build number that this upgrade is applicable to.

getShortDescription

public String getShortDescription()
Description copied from interface: UpgradeTask
A short (<50 chars) description of the upgrade action

Specified by:
getShortDescription in interface UpgradeTask
Returns:
description of upgrade task.

doUpgrade

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

Specified by:
doUpgrade in interface UpgradeTask
Throws:
Exception - is thrown if any errors occur during the upgrade process.

getErrors

public Collection<String> getErrors()
Description copied from interface: UpgradeTask
Any errors that occur during the upgrade process will be added to this Collection as Strings.

Specified by:
getErrors in interface UpgradeTask
Returns:
a Collection of errors. This may return an empty Collection.

setDirectoryManager

public void setDirectoryManager(DirectoryManager directoryManager)


Copyright © 2014 Atlassian. All Rights Reserved.