public abstract class SectionVisitor extends Module
transformProcessor| Constructor and Description |
|---|
SectionVisitor(com.tridion.configuration.Configuration config)
Creates a new instance of SectionVisitor.
|
| Modifier and Type | Method and Description |
|---|---|
BinaryStorageBase |
getBinaryStorage() |
TransportPackage |
getCurrentTransportPackage() |
protected abstract String |
getRootSectionName()
Should return the name for the root section that this SectionVisitor is supposed to Process.
|
TransformerStorage |
getTransformerStorage() |
void |
process(TransportPackage transportPackage)
Processes the
TransportPackage. |
protected abstract void |
processItem(Object item,
com.tridion.transport.transportpackage.Section currentSection)
Abstract method for subclasses to implement.
|
protected void |
processSection(com.tridion.transport.transportpackage.Section section) |
protected abstract boolean |
setup()
This method is called once before processing starts.
|
configure, getConfigurationpublic SectionVisitor(com.tridion.configuration.Configuration config)
throws com.tridion.configuration.ConfigurationException
com.tridion.configuration.ConfigurationExceptionpublic void process(TransportPackage transportPackage) throws ProcessingException
ModuleTransportPackage.process in class ModuletransportPackage - package to processProcessingException - in case of any error.protected abstract String getRootSectionName()
protected abstract boolean setup()
protected void processSection(com.tridion.transport.transportpackage.Section section)
throws ProcessingException
ProcessingExceptionprotected abstract void processItem(Object item, com.tridion.transport.transportpackage.Section currentSection) throws ProcessingException
item - This generic type should be tested for an implementation of MetaKey
that is of interest to the implementation.currentSection - Section this item is part ofProcessingException - when an error occurs and the deploy action should be considered failed.public TransportPackage getCurrentTransportPackage()
public BinaryStorageBase getBinaryStorage()
public TransformerStorage getTransformerStorage()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries