diff -r 20a9b2bc9063 -r 89e3e6e28b69 src/java/de/uapcore/lightpit/LightPITModule.java --- a/src/java/de/uapcore/lightpit/LightPITModule.java Fri Dec 15 17:39:54 2017 +0100 +++ b/src/java/de/uapcore/lightpit/LightPITModule.java Sat Dec 16 20:19:28 2017 +0100 @@ -58,4 +58,20 @@ * @return an array of class names of required modules */ String[] requires() default {}; + + /** + * The path for this module, which will be used for the menu entry. + * + * This path must adhere to the URL pattern of the Servlet but must not + * contain any starting or trailing slashes. + * + * @return the relative module path + */ + String modulePath(); + + /** + * Returns the properties key for the menu label. + * @return the properties key relative to the base name + */ + String menuKey() default "menuLabel"; }