public class AddSiteUuidOperation extends AbstractUpgradeOperation
applicationContext, commitDetails, CONFIG_KEY_COMMIT_DETAILS, contentRepository, currentVersion, dataSource, generalLockService, nextVersion, servletContext, studioConfiguration
Constructor and Description |
---|
AddSiteUuidOperation() |
Modifier and Type | Method and Description |
---|---|
void |
execute(String site)
Performs a single upgrade operation.
|
SiteFeedMapper |
getSiteFeedMapper() |
void |
setSiteFeedMapper(SiteFeedMapper siteFeedMapper) |
commitAllChanges, doInit, getCommitMessage, getConnection, getContentRepository, getGeneralLockService, getProperty, getRepositoryPath, init, loadResource, setApplicationContext, setContentRepository, setDataSource, setGeneralLockService, setServletContext, setStudioConfiguration, writeToRepo
public void execute(String site) throws UpgradeException
UpgradeOperation
site
- the name of the siteUpgradeException
- if there is any error performing the upgradepublic SiteFeedMapper getSiteFeedMapper()
public void setSiteFeedMapper(SiteFeedMapper siteFeedMapper)
Copyright © 2023 CrafterCMS. All rights reserved.