Class DescriptorV2UpgradeOperation
- java.lang.Object
-
- org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation<String>
-
- org.craftercms.studio.impl.v2.upgrade.operations.AbstractUpgradeOperation
-
- org.craftercms.studio.impl.v2.upgrade.operations.plugin.AbstractPluginDescriptorUpgradeOperation
-
- org.craftercms.studio.impl.v2.upgrade.operations.plugin.DescriptorV2UpgradeOperation
-
- All Implemented Interfaces:
org.craftercms.commons.upgrade.UpgradeOperation<String>
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
public class DescriptorV2UpgradeOperation extends AbstractPluginDescriptorUpgradeOperation
- Author:
- joseross
-
-
Field Summary
-
Fields inherited from class org.craftercms.studio.impl.v2.upgrade.operations.plugin.AbstractPluginDescriptorUpgradeOperation
CONFIG_KEY_DESCRIPTOR_PATH, CONFIG_KEY_DESCRIPTOR_VERSION, descriptorPath, descriptorReader, descriptorVersion
-
Fields inherited from class org.craftercms.studio.impl.v2.upgrade.operations.AbstractUpgradeOperation
changedFiles, commitDetails, CONFIG_KEY_COMMIT_DETAILS, deletedFiles, servletContext, studioConfiguration
-
-
Constructor Summary
Constructors Constructor Description DescriptorV2UpgradeOperation(StudioConfiguration studioConfiguration, org.craftercms.commons.plugin.PluginDescriptorReader descriptorReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doPluginDescriptorUpdates(org.craftercms.commons.plugin.model.PluginDescriptor descriptor)
-
Methods inherited from class org.craftercms.studio.impl.v2.upgrade.operations.plugin.AbstractPluginDescriptorUpgradeOperation
doExecute, doInit
-
Methods inherited from class org.craftercms.studio.impl.v2.upgrade.operations.AbstractUpgradeOperation
commitAllChanges, doExecute, getCommitMessage, init, loadResource, setServletContext, trackChangedFiles, trackDeletedFiles
-
-
-
-
Constructor Detail
-
DescriptorV2UpgradeOperation
@ConstructorProperties({"studioConfiguration","descriptorReader"}) public DescriptorV2UpgradeOperation(StudioConfiguration studioConfiguration, org.craftercms.commons.plugin.PluginDescriptorReader descriptorReader)
-
-
Method Detail
-
doPluginDescriptorUpdates
protected void doPluginDescriptorUpdates(org.craftercms.commons.plugin.model.PluginDescriptor descriptor)
- Specified by:
doPluginDescriptorUpdates
in classAbstractPluginDescriptorUpgradeOperation
-
-