Created
June 15, 2011 21:50
-
-
Save ralfbattenfeld/1028220 to your computer and use it in GitHub Desktop.
Discussion of two API flavors for the Shrinkwrap Descriptor project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Settings filters in a webapp descriptor | |
--------------------------------------- | |
First Option using up() for jumping back to the parent node: Second option using type information | |
String desc = create(WebApp30Descriptor.class) String desc = create(WebAppDescriptor.class) | |
.filter() .filter(type(Filter.class) | |
.setFilterClass("org.dot.clazz") .name("name") | |
.setFilterName("name").up() .className("org.dot.clazz") ) | |
.filterMapping() .filterMapping(type(FilterMapping.class) | |
.setFilterName("name") .filterName("name") | |
.setUrlPattern("mapping").up() .urlPattern("http://someLink") ) | |
.exportAsString(); .exportAsString(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi All
I am after the education trip in the nice Caribbean for two weeks. Sun, beach, everything is beautiful. But I wanted to say that I have my laptop with me and a will proceed with more testing work. I am thinking of a generated test cases to cover more of the functionalities. This is independent of the API discussion. In the meanwhile, the transformation is now integrated into maven. I had to choose a better maven xml plugin.