commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CHAIN-70) Add a small EDSL to simplify Chain setup and execution.
Date Thu, 19 Jul 2012 08:56:33 GMT
Simone Tripodi created CHAIN-70:
-----------------------------------

             Summary: Add a small EDSL to simplify Chain setup and execution.
                 Key: CHAIN-70
                 URL: https://issues.apache.org/jira/browse/CHAIN-70
             Project: Commons Chain
          Issue Type: New Feature
    Affects Versions: 2.0
            Reporter: Simone Tripodi
            Assignee: Simone Tripodi
             Fix For: 2.0


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

{code}
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);
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message