Class ImportFileSystem
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.fs.ImportFileSystem
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class ImportFileSystem extends Object implements org.apache.commons.chain.Command
Import data from the file system.
If the given path refers to a file it's imported to aNodeof type nt:file under the current workingNode.
If the given path refers to a folder, the given folder and all the subtree is imported.
-
-
Constructor Summary
Constructors Constructor Description ImportFileSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.apache.commons.chain.Context ctx)StringgetSrcFsPathKey()voidsetSrcFsPathKey(String fromKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception- Specified by:
executein interfaceorg.apache.commons.chain.Command- Throws:
Exception
-
getSrcFsPathKey
public String getSrcFsPathKey()
- Returns:
- the from key
-
setSrcFsPathKey
public void setSrcFsPathKey(String fromKey)
- Parameters:
fromKey- the from key to set
-
-