forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: [rt] resource-exists selector
Date Tue, 18 Mar 2003 14:39:56 GMT
On Tue, Mar 18, 2003 at 09:12:16AM -0500, Vadim Gritsenko wrote:
> Jeff Turner wrote:
> 
> >(note: [rt]'s are little [RT]s ;)
> > 
> >
> ...
> 
> >So, can I check this in, deprecate ResourceExistsAction, and we all
> >live happily ever after?
> >
> 
> Check in resource-exists selector: +1.
> 
> Deprecate resource-exists action: +0.
> 
> What about resource-exists matcher? ;-)
> 
> PS: RT: 1st rule of sitemap component equivalency: Every action could be 
> renamed to/rewritten as a matcher

Heh.. I think you're right.  Matchers, Selectors and Actions are all
switches that can do logic.  Actions have an unfair advantage in that
they get passed a SourceResolver.  I actually wrote a
ResourceExistsMatcher first, then decided a Selector was more
traditional.


--Jeff

> Vadim
> 
> 

Mime
View raw message