Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-481

[pipeline] improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Nightly Builds
    • None
    • Pipeline
    • None

    Description

      I find interesting this project, however it appears that there are no commits since 2009.
      I performed the following improvements.
      ExtendedBaseStageTest: I had to comment some tests, as they always fail (this happened also before my modifications!)
      Simplified Pipeline.java. I have added a notion of "default" stage factory, and a feed() method.
      BaseStage: process() is now declared abstract. Modified RaiseEventStage.java accordingly.
      Created new package org.apache.commons.pipeline.stage.io
      I am planning to create several new stages to be included in this package.
      Moved following files from package org.apache.commons.pipeline.stage to org.apache.commons.pipeline.stage.io:
      FileFinderStage, FtpFileDownloadStage, HttpFileDownloadStage
      Modified test files accordingly.
      FileFinder.java: added some new filtering options

      I will attach 4 patches. Patches should be applied /after/ moving files to new package stage.io.

      Attachments

        1. BaseStage.patch
          2 kB
          Luca Vercelli
        2. ExtendedBaseStageTest.patch
          1 kB
          Luca Vercelli
        3. io.patch
          9 kB
          Luca Vercelli
        4. Pipeline.patch
          4 kB
          Luca Vercelli

        Activity

          People

            Unassigned Unassigned
            luca.vercelli Luca Vercelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: