Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.3.0, 0.4.0
-
None
Description
This enhancement is to allow extend DirTailingAdaptor that can support custom build adaptors. Its assumed that custom adaptors will be built and shipped in a separate jar file. Following changes suggested in DirTailingAdaptor
- String adaptorName: protected to allow extending adaptors know underlying file level adaptor
- protected String getAdaptorAddCommand(File dir) throws IOException: New method: Allows to construct add command based on custom adaptor to be used with custom DirTailing adaptor
- private void scanDirHierarchy(File dir): call getAdaptorAddCommand to get adaptor to add. This allows to pass on custom adaptor specific arguments