@@ -0,0 +1,1615 @@
+/*%0A * RESTHeart Common%0A * %0A * Copyright (C) SoftInstigate Srl%0A * %0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A * %0A * http://www.apache.org/licenses/LICENSE-2.0%0A * %0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.restheart.plugins;%0A%0Aimport java.lang.annotation.Retention;%0Aimport java.lang.annotation.RetentionPolicy;%0A%0A/**%0A * Annotation to register a Plugin%0A *%0A * @author Andrea Di Cesare %3Candrea@softinstigate.com%3E%0A */%0A@Retention(RetentionPolicy.RUNTIME)%0Apublic @interface RegisterPlugin %7B%0A    /**%0A     * Defines the name of the plugin. The name can be used in the configuration%0A file to pass confArgs%0A     * @return the name of the plugin%0A     */%0A    String name();%0A%0A    /**%0A     * Describes the plugin%0A     * @return the description of the plugin%0A     */%0A    String description();%0A%0A    /**%0A     * Set the order of execution (less is higher priority)%0A     * @return the execution priority (less is higher priority)%0A     */%0A    int priority() default 10;%0A%0A    /**%0A     * Set to true to enable the plugin by default.Otherwise it can be enabled%0A setting the configuration argument 'enabled'%0A     *%0A     * @return true if enabled by default%0A     */%0A    boolean enabledByDefault() default true;%0A%7D%0A

Add javadoc to RegisterPlugin