/*
 * #%L
 * wcm.io
 * %%
 * Copyright (C) 2016 wcm.io
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */
package io.wcm.caconfig.sample.config;

import org.apache.sling.caconfig.annotation.Configuration;
import org.apache.sling.caconfig.annotation.Property;

/**
 * Config annotation class example
 */
@Configuration(label = "Sample Configuration", description = "This is a sample configuration.")
public @interface ConfigSample {

  /**
   * @return String parameter
   */
  @Property(label = "String Param", description = "This is a string parameter in the singleton configuration.")
  String stringParam();

  /**
   * @return Integer parameter
   */
  @Property(label = "Integer Param")
  int intParam();

  /**
   * @return Boolean parameter
   */
  @Property(label = "Boolean Param")
  boolean boolParam();

  /**
   * @return String array parameter with default value
   */
  @Property(label = "String Array Param")
  String[] stringArrayParam() default {
    "value1", "value2"
  };

}

@@ -1100,18 +1100,29 @@
 ration.%22
+, order = 1
 )%0A
-
   String
@@ -1212,24 +1212,35 @@
 teger Param%22
+, order = 2
 )%0A  int intP
@@ -1322,24 +1322,35 @@
 olean Param%22
+, order = 3
 )%0A  boolean 
@@ -1426,24 +1426,24 @@
 value%0A   */%0A
-
   @Property(
@@ -1470,16 +1470,27 @@
 y Param%22
+, order = 4
 )%0A  Stri

define property order