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

Add a small EDSL to simplify Chain setup and execution.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: