src/main/java/de/uapcore/lightpit/RequestMapping.java

changeset 45
cc7f082c5ef3
parent 34
824d4042c857
child 70
821c4950b619
--- a/src/main/java/de/uapcore/lightpit/RequestMapping.java	Wed May 13 18:55:05 2020 +0200
+++ b/src/main/java/de/uapcore/lightpit/RequestMapping.java	Wed May 13 21:10:23 2020 +0200
@@ -62,11 +62,19 @@
     String requestPath() default "";
 
     /**
-     * Returns the properties key for the (sub) menu label.
+     * Specifies the properties key for the sub menu label.
+     * An empty string (default) means that no sub menu entry shall be created.
      * <p>
      * This should only be used for {@link HttpMethod#GET} requests.
      *
      * @return the properties key
      */
     String menuKey() default "";
+
+    /**
+     * May be changed to control the ordering of menu items.
+     *
+     * @return an integer to control the ordering
+     */
+    int menuSequence() default 0;
 }

mercurial