Class UpgradeContext<T>

java.lang.Object
org.craftercms.commons.upgrade.impl.UpgradeContext<T>
Type Parameters:
T - The target type supported

public abstract class UpgradeContext<T> extends Object
Holds all data related to a given upgrade process.
Since:
4.0.0
Author:
joseross
  • Field Details

    • target

      protected T target
      The target of the upgrade.
  • Constructor Details

    • UpgradeContext

      public UpgradeContext(T target)
  • Method Details

    • getTarget

      public T getTarget()
    • toString

      public String toString()
      Overrides:
      toString in class Object