public class JcrExportCommand extends JcrImportCommand
Modifier and Type | Class and Description |
---|---|
static class |
JcrExportCommand.Compression
Exported file compression.
|
static class |
JcrExportCommand.DefaultFilter
Default filters for
JcrExportCommand . |
static class |
JcrExportCommand.Format
Export format.
|
log
CONTINUE_PROCESSING, PROCESSING_COMPLETE
Constructor and Description |
---|
JcrExportCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Context context)
This is the actual method to be overridden in descendant classes.
|
String |
getCompression() |
Class<? extends org.apache.jackrabbit.commons.xml.Exporter> |
getExporterClass() |
Map<String,ContentDecorator> |
getFilters() |
String |
getFormat() |
OutputStream |
getOutputStream() |
boolean |
isPrettyPrint() |
void |
setCompression(String compression) |
void |
setExporterClass(Class<? extends org.apache.jackrabbit.commons.xml.Exporter> exporterClass) |
void |
setFilters(Map<String,ContentDecorator> filters) |
void |
setFormat(String format) |
void |
setOutputStream(OutputStream outputStream) |
void |
setPrettyPrint(boolean prettyPrint) |
getFileName, getIdentifierBehavior, getImportPath, getStream, isSaveAfterImport, setFileName, setIdentifierBehavior, setImportPath, setSaveAfterImport, setStream
getJCRNode, getPath, getRepository, getUuid, release, setPath, setRepository, setUuid
clone, execute, isEnabled, setEnabled
public boolean execute(Context context) throws Exception
MgnlCommand
execute
in class JcrImportCommand
Exception
public OutputStream getOutputStream()
public void setOutputStream(OutputStream outputStream)
public String getFormat()
public void setFormat(String format)
public String getCompression()
public void setCompression(String compression)
public Map<String,ContentDecorator> getFilters()
public void setFilters(Map<String,ContentDecorator> filters)
public Class<? extends org.apache.jackrabbit.commons.xml.Exporter> getExporterClass()
public void setExporterClass(Class<? extends org.apache.jackrabbit.commons.xml.Exporter> exporterClass)
public boolean isPrettyPrint()
public void setPrettyPrint(boolean prettyPrint)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.