|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Snippet
| Method Summary | |
|---|---|
String |
arguments(List<Class<?>> argumentTypes)
|
String |
escapePattern(String pattern)
|
String |
namedGroupEnd()
Langauges that don't support named capture groups should return null. |
String |
namedGroupStart()
Langauges that don't support named capture groups should return null. |
String |
tableHint()
|
String |
template()
|
| Method Detail |
|---|
String template()
MessageFormat template used to generate a snippet. The template can access the following variables:
escapePattern(String)arguments(java.util.List)tableHint() if the step has a tableString tableHint()
String arguments(List<Class<?>> argumentTypes)
argumentTypes - the types the snippet's argument should accept
String namedGroupStart()
String namedGroupEnd()
String escapePattern(String pattern)
pattern - the computed pattern that will match an undefined step
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||