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

Design of Pipeline class slightly unhelpful -> IllegalStateException

    XMLWordPrintableJSON

Details

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

    Description

      Although it is more or less obvious that no stages should be added after Pipeline.start() was called, I cannot find this in the docs. If I try it, I get my kick in the but immediately with an IllegalStageException.

      May I suggest to separate creating and using a pipeline into two separate classes such that no such IllegalStateException is even possible?

      Harald Kirsch

      Attachments

        Activity

          People

            Unassigned Unassigned
            haraldk Harald Kirsch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: