Package com.io7m.cardant.database.api
Class CADatabaseTypePackageUpgradeExecutor
java.lang.Object
com.io7m.cardant.database.api.CADatabaseTypePackageUpgradeExecutor
- All Implemented Interfaces:
CATypePackageUpgradeExecutorType
public final class CADatabaseTypePackageUpgradeExecutor
extends Object
implements CATypePackageUpgradeExecutorType
An executor for type package upgrade plans.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(CADatabaseTransactionType transaction) An executor for type package upgrade plans.voidexecute(List<CATypePackageUOpType> plan) Execute the plan.toString()
-
Method Details
-
create
An executor for type package upgrade plans.- Parameters:
transaction- The database transaction- Returns:
- An executor
-
execute
Description copied from interface:CATypePackageUpgradeExecutorTypeExecute the plan.- Specified by:
executein interfaceCATypePackageUpgradeExecutorType- Parameters:
plan- The plan operations- Throws:
CADatabaseException
-
toString
-