You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:19:15 UTC

[sling-org-apache-sling-caconfig-api] 04/06: SLING-6374 Context-Aware Config: Allow to control property order in annotation classes

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.caconfig.api-1.1.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-caconfig-api.git

commit c031eb444c220c810f31cf84acd5ec2848487789
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Wed Dec 7 21:36:09 2016 +0000

    SLING-6374 Context-Aware Config: Allow to control property order in annotation classes
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/contextaware-config/api@1773149 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/caconfig/annotation/Property.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main/java/org/apache/sling/caconfig/annotation/Property.java b/src/main/java/org/apache/sling/caconfig/annotation/Property.java
index 752d171..579c751 100644
--- a/src/main/java/org/apache/sling/caconfig/annotation/Property.java
+++ b/src/main/java/org/apache/sling/caconfig/annotation/Property.java
@@ -45,4 +45,9 @@ public @interface Property {
      */
     String[] property() default {};
     
+    /**
+     * @return Number to control property order in configuration editor.
+     */
+    int order() default 0;
+    
 }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.