public class BatchXsltFileUpgradeOperation extends AbstractXsltFileUpgradeOperation
UpgradeOperation that updates multiple files using a XSLT template.
Supported YAML properties:
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_KEY_REGEX |
protected String |
regex |
CONFIG_KEY_TEMPLATE, SAXON_CLASS, templateapplicationContext, commitDetails, CONFIG_KEY_COMMIT_DETAILS, contentRepository, currentVersion, dataSource, generalLockService, nextVersion, servletContext, studioConfiguration| Constructor and Description |
|---|
BatchXsltFileUpgradeOperation() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInit(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config) |
void |
execute(String site)
Performs a single upgrade operation.
|
executeTemplate, getURIResolver, setTemplatecommitAllChanges, getCommitMessage, getConnection, getContentRepository, getGeneralLockService, getProperty, getRepositoryPath, init, loadResource, setApplicationContext, setContentRepository, setDataSource, setGeneralLockService, setServletContext, setStudioConfiguration, writeToRepopublic static final String CONFIG_KEY_REGEX
protected String regex
protected void doInit(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config)
doInit in class AbstractXsltFileUpgradeOperationpublic void execute(String site) throws UpgradeException
UpgradeOperationsite - the name of the siteUpgradeException - if there is any error performing the upgradeCopyright © 2023 CrafterCMS. All rights reserved.