It's great that JBehave provides so much API to retrieve/find/load stories. I wonder if there's room for an abstraction/strategy which encapsulates all these?

void interface StorySource {
// 'List' in case the source wants to communicate an ordering, as usual.
    List<Story> getStories();
}

This might eventually lead to an even cleaner API, and it could encapsulate all sorts of strategies.

Jon

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to