Class 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
    • Constructor Detail

      • BlueprintsVersionProvider

        public BlueprintsVersionProvider()
    • Method Detail

      • 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