Class 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 a Node of type nt:file under the current working Node.
    If the given path refers to a folder, the given folder and all the subtree is imported.
    • Constructor Detail

      • ImportFileSystem

        public ImportFileSystem()
    • Method Detail

      • execute

        public boolean execute​(org.apache.commons.chain.Context ctx)
                        throws Exception
        Specified by:
        execute in interface org.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