|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.upgrade.AbstractUpgradeTask com.atlassian.confluence.upgrade.upgradetask.AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask
public class AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask
An upgrade task used to migrate the repository configuration from Atlassian User into the appropriate directories
in Embedded Crowd. Uses the AtlassianUserMigratorFactory
to create a migrator for the current atlassian
user configuration.
Constructor Summary | |
---|---|
AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask(AtlassianUserMigratorFactory atlassianUserMigratorFactory,
EmbeddedCrowdBootstrap embeddedCrowdBootstrap)
|
Method Summary | |
---|---|
boolean |
breaksBackwardCompatibility()
Returns true if a new export can't be imported in an older instance. |
void |
doUpgrade()
Perform the upgrade. |
java.lang.String |
getBuildNumber()
|
java.lang.String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
boolean |
runOnSpaceImport()
Returns true if an older Space can't be imported in a new instance without running this task. |
void |
validate()
This is only implemented in this abstract base class for the convenience of the large number of older upgrade tasks. |
Methods inherited from class com.atlassian.confluence.upgrade.AbstractUpgradeTask |
---|
addAllErrors, addError, addError, getConstraint, getErrors, getName, isDatabaseUpgrade, setBeanName, setBuildNumber |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask(AtlassianUserMigratorFactory atlassianUserMigratorFactory, EmbeddedCrowdBootstrap embeddedCrowdBootstrap)
Method Detail |
---|
public java.lang.String getBuildNumber()
getBuildNumber
in interface UpgradeTaskInfo
getBuildNumber
in class AbstractUpgradeTask
public java.lang.String getShortDescription()
UpgradeTaskInfo
getShortDescription
in interface UpgradeTaskInfo
getShortDescription
in class AbstractUpgradeTask
public void validate() throws java.lang.Exception
AbstractUpgradeTask
This is only implemented in this abstract base class for the convenience of the large number of older upgrade tasks.
If you are implementing a new UpgradeTask you must give some consideration to implementing validation as well.
validate
in interface UpgradeTask
validate
in class AbstractUpgradeTask
java.lang.Exception
public void doUpgrade() throws java.lang.Exception
UpgradeTask
java.lang.Exception
public boolean runOnSpaceImport()
BackupSupport
public boolean breaksBackwardCompatibility()
BackupSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |