public abstract class AbstractXsltFileUpgradeOperation extends AbstractUpgradeOperation
UpgradeOperation for all operations related to a XSLT template.
Supported YAML properties:
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_KEY_TEMPLATE |
protected static String |
SAXON_CLASS |
protected org.springframework.core.io.Resource |
template
Template file to be applied.
|
applicationContext, commitDetails, CONFIG_KEY_COMMIT_DETAILS, contentRepository, currentVersion, dataSource, generalLockService, nextVersion, servletContext, studioConfiguration| Constructor and Description |
|---|
AbstractXsltFileUpgradeOperation() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInit(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config) |
protected void |
executeTemplate(String site,
String path,
OutputStream os) |
protected URIResolver |
getURIResolver(String siteId) |
void |
setTemplate(org.springframework.core.io.Resource template) |
commitAllChanges, getCommitMessage, getConnection, getContentRepository, getGeneralLockService, getProperty, getRepositoryPath, init, loadResource, setApplicationContext, setContentRepository, setDataSource, setGeneralLockService, setServletContext, setStudioConfiguration, writeToRepoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic static final String CONFIG_KEY_TEMPLATE
protected static final String SAXON_CLASS
protected org.springframework.core.io.Resource template
public void setTemplate(org.springframework.core.io.Resource template)
protected void doInit(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config)
doInit in class AbstractUpgradeOperationprotected void executeTemplate(String site, String path, OutputStream os) throws UpgradeException
UpgradeExceptionprotected URIResolver getURIResolver(String siteId)
Copyright © 2022 CrafterCMS. All rights reserved.