Class ExportFileSystem
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.fs.ExportFileSystem
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class ExportFileSystem extends Object implements org.apache.commons.chain.Command
Export aNodeof type nt:file or nt:folder to the given file system path.
-
-
Constructor Summary
Constructors Constructor Description ExportFileSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.apache.commons.chain.Context ctx)StringgetDestFsPathKey()StringgetOverwriteKey()StringgetSrcJcrPathKey()voidsetDestFsPathKey(String toFsPathKey)voidsetOverwriteKey(String overwriteKey)voidsetSrcJcrPathKey(String srcJcrPathKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception- Specified by:
executein interfaceorg.apache.commons.chain.Command- Throws:
Exception
-
getOverwriteKey
public String getOverwriteKey()
- Returns:
- the overwrite key
-
setOverwriteKey
public void setOverwriteKey(String overwriteKey)
- Parameters:
overwriteKey- the overwrite key to set
-
getSrcJcrPathKey
public String getSrcJcrPathKey()
- Returns:
- the source jcr path key
-
setSrcJcrPathKey
public void setSrcJcrPathKey(String srcJcrPathKey)
- Parameters:
srcJcrPathKey- the source jcr path key to set
-
getDestFsPathKey
public String getDestFsPathKey()
- Returns:
- the destination file system path key
-
setDestFsPathKey
public void setDestFsPathKey(String toFsPathKey)
- Parameters:
toFsPathKey- the destination file system path key to set
-
-