Class BlueprintsVersionProvider

java.lang.Object
org.craftercms.commons.upgrade.impl.providers.AbstractVersionProvider<String>
org.craftercms.studio.impl.v2.upgrade.providers.BlueprintsVersionProvider
All Implemented Interfaces:
org.craftercms.commons.upgrade.VersionProvider<String>

public class BlueprintsVersionProvider extends org.craftercms.commons.upgrade.impl.providers.AbstractVersionProvider<String>
Implementation of VersionProvider for the built-in blueprints.
Since:
4.0.0
Author:
jose ross
  • Field Summary

    Fields inherited from class org.craftercms.commons.upgrade.impl.providers.AbstractVersionProvider

    defaultValue, logger

    Fields inherited from interface org.craftercms.commons.upgrade.VersionProvider

    SKIP, VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    doGetVersion(org.craftercms.commons.upgrade.impl.UpgradeContext<String> context)
     
    protected void
    doSetVersion(org.craftercms.commons.upgrade.impl.UpgradeContext<String> context, String newVersion)
     

    Methods inherited from class org.craftercms.commons.upgrade.impl.providers.AbstractVersionProvider

    getVersion, setDefaultValue, setVersion

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BlueprintsVersionProvider

      public BlueprintsVersionProvider()
  • Method Details

    • doGetVersion

      protected String doGetVersion(org.craftercms.commons.upgrade.impl.UpgradeContext<String> context) throws Exception
      Specified by:
      doGetVersion in class org.craftercms.commons.upgrade.impl.providers.AbstractVersionProvider<String>
      Throws:
      Exception
    • doSetVersion

      protected void doSetVersion(org.craftercms.commons.upgrade.impl.UpgradeContext<String> context, String newVersion) throws Exception
      Specified by:
      doSetVersion in class org.craftercms.commons.upgrade.impl.providers.AbstractVersionProvider<String>
      Throws:
      Exception