diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-10-29 15:11:39 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-10-29 15:11:39 +0000 |
commit | 4e8a23e0d25305990324c1ddf31f2bdd097c95da (patch) | |
tree | f5596e6069f407dba32e5903f690efce88b14804 /sonar-plugin-api | |
parent | 9ed3191362c27c60a6f41fd2a4756cc92942be6d (diff) | |
download | sonarqube-4e8a23e0d25305990324c1ddf31f2bdd097c95da.tar.gz sonarqube-4e8a23e0d25305990324c1ddf31f2bdd097c95da.zip |
SONAR-1643 add widget properties
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/web/WidgetProperty.java | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/WidgetProperty.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/WidgetProperty.java index 7ec6bf86f8d..87e3743b8dd 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/web/WidgetProperty.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/WidgetProperty.java @@ -24,27 +24,17 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-/**
- * Created by IntelliJ IDEA.
- * User: dreik
- * Date: 09.08.2010
- * Time: 10:33:35
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface WidgetProperty {
String key();
- String defaultValue() default "";
+ String type() default "STRING";
- String name();
+ String defaultValue() default "";
String description() default "";
- String type() default "STRING";
-
- String parameter() default "";
-
boolean optional() default true;
}
|