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 Type
  Method
  Description
  `static CATypePackageUpgradeExecutorType`
  `create(CADatabaseTransactionType transaction)`
  An executor for type package upgrade plans.
  `void`
  `execute(List<CATypePackageUOpType> plan)`
  Execute the plan.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### create

    public static CATypePackageUpgradeExecutorType create(CADatabaseTransactionType transaction)
    An executor for type package upgrade plans.
    Parameters:
      `transaction` - The database transaction
    Returns:
      An executor

  - ### execute

    public void execute(List<CATypePackageUOpType> plan) throws CADatabaseException
    Description copied from interface: `CATypePackageUpgradeExecutorType`
    Execute the plan.
    Specified by:
      `execute` in interface `CATypePackageUpgradeExecutorType`
    Parameters:
      `plan` - The plan operations
    Throws:
      `CADatabaseException`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`