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] [Resolved] (CHAIN-70) Add a small EDSL to simplify Chain setup and execution.
Date Thu, 19 Jul 2012 08:58:33 GMT

     [ https://issues.apache.org/jira/browse/CHAIN-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Simone Tripodi resolved CHAIN-70.
---------------------------------

    Resolution: Fixed

fixed on trunk, see r1363265
                
> 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