Uploaded image for project: 'Commons Chain'
  1. Commons Chain
  2. CHAIN-70

Add a small EDSL to simplify Chain setup and execution.

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None

      Description

      As per subject, it would be nice to have a small set of fluent interfaces to simplify the Chain execution, kind of

      Chains.on(new ChainBase<String, Object, Context<String, Object>>())
             .addCommand(new DelegatingFilter("1", "a"))
             .addCommand(new ExceptionFilter("2", "b"))
             .addCommand(new NonDelegatingFilter("3", "c"))
             .execute(context);
      

        Attachments

          Activity

            People

            • Assignee:
              simone.tripodi Simone Tripodi
              Reporter:
              simone.tripodi Simone Tripodi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: