Package org.jeyzer.annotations
Annotation Type Executor
-
@Inherited @Target(METHOD) @Retention(SOURCE) public @interface Executor
Generates a Jeyzer analysis pattern executor entry.
Example :<executor name="HttpServlet.service" pattern="HTTP request" priority="900" />Pattern entry is generated in the
jeyzer_patterns.xmlfile located in thejeyzerdirectory under the target/generated-sources build directory.
If file creation is not possible there, file will be created under the standard generated source code directory.
Pattern executor attributes are :
- Name. It is either provided as annotation attribute or deduced from the element name.
For example, for aserviceRequestmethod, name will be set as Service request. - Code pattern. It is prefixed with the fully qualified package name.
For example, if the annotation applies on theHttpServlet servicemethod located in thejavax.servlet.httppackage, pattern will be set as javax.servlet.http.HttpServlet.service. - Priority. It is optional. If specified, value must be set between 101 and 1000.
- Name. It is either provided as annotation attribute or deduced from the element name.
-
-
Element Detail
-
name
String name
The executor name. Optional- Returns:
- the name
- Default:
- ""
-
-