|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.upgrade.upgradetask.LikesSqlConstraintsUpgradeTask
public class LikesSqlConstraintsUpgradeTask
Field Summary |
---|
Fields inherited from interface com.atlassian.confluence.upgrade.UpgradeTask |
---|
log |
Constructor Summary | |
---|---|
LikesSqlConstraintsUpgradeTask(DdlExecutor ddlExecutor,
AlterTableExecutor alterTableExecutor)
|
Method Summary | |
---|---|
boolean |
breaksBackwardCompatibility()
The old lack of constraint didn't required anything of the data. |
void |
doUpgrade()
Perform the upgrade. |
java.lang.String |
getBuildNumber()
|
BuildNumberUpgradeConstraint |
getConstraint()
|
java.util.Collection<UpgradeError> |
getErrors()
Return any errors that occur. |
java.lang.String |
getName()
The human-readable name of the upgrade task |
java.lang.String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
boolean |
isDatabaseUpgrade()
|
boolean |
runOnSpaceImport()
This doesn't run on import for a site import, so doesn't need to run on space import either. |
void |
validate()
Validates that this upgrade task can be performed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LikesSqlConstraintsUpgradeTask(DdlExecutor ddlExecutor, AlterTableExecutor alterTableExecutor)
Method Detail |
---|
public java.lang.String getBuildNumber()
getBuildNumber
in interface UpgradeTaskInfo
public BuildNumberUpgradeConstraint getConstraint()
getConstraint
in interface UpgradeTask
public java.lang.String getShortDescription()
UpgradeTaskInfo
getShortDescription
in interface UpgradeTaskInfo
public boolean isDatabaseUpgrade()
isDatabaseUpgrade
in interface UpgradeTaskInfo
public void doUpgrade() throws java.lang.Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
java.lang.Exception
public void validate() throws java.lang.Exception
UpgradeTask
validate
in interface UpgradeTask
java.lang.Exception
public java.util.Collection<UpgradeError> getErrors()
UpgradeTask
UpgradeError
.
getErrors
in interface UpgradeTask
UpgradeError
objects, sometimes null.public boolean runOnSpaceImport()
runOnSpaceImport
in interface BackupSupport
public boolean breaksBackwardCompatibility()
breaksBackwardCompatibility
in interface BackupSupport
public java.lang.String getName()
UpgradeTaskInfo
getName
in interface UpgradeTaskInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |