src/java/de/uapcore/lightpit/LightPITModule.java

changeset 10
89e3e6e28b69
parent 7
598670d5b0b8
child 11
737ab27e37b3
     1.1 --- a/src/java/de/uapcore/lightpit/LightPITModule.java	Fri Dec 15 17:39:54 2017 +0100
     1.2 +++ b/src/java/de/uapcore/lightpit/LightPITModule.java	Sat Dec 16 20:19:28 2017 +0100
     1.3 @@ -58,4 +58,20 @@
     1.4       * @return an array of class names of required modules
     1.5       */
     1.6      String[] requires() default {};
     1.7 +    
     1.8 +    /**
     1.9 +     * The path for this module, which will be used for the menu entry.
    1.10 +     * 
    1.11 +     * This path must adhere to the URL pattern of the Servlet but must not
    1.12 +     * contain any starting or trailing slashes.
    1.13 +     * 
    1.14 +     * @return the relative module path
    1.15 +     */
    1.16 +    String modulePath();
    1.17 +    
    1.18 +    /**
    1.19 +     * Returns the properties key for the menu label.
    1.20 +     * @return the properties key relative to the base name
    1.21 +     */
    1.22 +    String menuKey() default "menuLabel";
    1.23  }

mercurial