|
||||||||||
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 | |
---|---|
void |
doUpgrade()
Perform the upgrade. |
String |
getBuildNumber()
|
String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
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, 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 String getBuildNumber()
getBuildNumber
in interface UpgradeTask
getBuildNumber
in class AbstractUpgradeTask
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
getShortDescription
in class AbstractUpgradeTask
public void validate() throws 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
Exception
public void doUpgrade() throws Exception
UpgradeTask
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |