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 aNode
of 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 boolean
execute(org.apache.commons.chain.Context ctx)
String
getDestFsPathKey()
String
getOverwriteKey()
String
getSrcJcrPathKey()
void
setDestFsPathKey(String toFsPathKey)
void
setOverwriteKey(String overwriteKey)
void
setSrcJcrPathKey(String srcJcrPathKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
- Specified by:
execute
in 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
-
-