2323import org .sonar .api .PropertyType ;
2424import org .sonar .api .SonarProduct ;
2525import org .sonar .api .config .PropertyDefinition ;
26- import org .sonar .api .resources . Qualifiers ;
26+ import org .sonar .api .config . PropertyDefinition . ConfigScope ;
2727import org .sonar .plugins .openedge .api .Constants ;
2828import org .sonar .plugins .openedge .decorator .CommonDBMetricsDecorator ;
2929import org .sonar .plugins .openedge .decorator .CommonMetricsDecorator ;
@@ -84,7 +84,7 @@ public void define(Context context) {
8484 .type (PropertyType .BOOLEAN ) //
8585 .category (CATEGORY_OPENEDGE ) //
8686 .subCategory (SUBCATEGORY_GENERAL ) //
87- .onQualifiers ( Qualifiers .PROJECT ) //
87+ .onConfigScopes ( ConfigScope .PROJECT ) //
8888 .defaultValue (Boolean .FALSE .toString ()) //
8989 .build ());
9090
@@ -94,7 +94,7 @@ public void define(Context context) {
9494 .type (PropertyType .BOOLEAN ) //
9595 .category (CATEGORY_OPENEDGE ) //
9696 .subCategory (SUBCATEGORY_GENERAL ) //
97- .onQualifiers ( Qualifiers .PROJECT ) //
97+ .onConfigScopes ( ConfigScope .PROJECT ) //
9898 .defaultValue (Boolean .FALSE .toString ()) //
9999 .build ());
100100
@@ -105,7 +105,7 @@ public void define(Context context) {
105105 .type (PropertyType .BOOLEAN ) //
106106 .category (CATEGORY_OPENEDGE ) //
107107 .subCategory (SUBCATEGORY_GENERAL ) //
108- .onQualifiers ( Qualifiers .PROJECT ) //
108+ .onConfigScopes ( ConfigScope .PROJECT ) //
109109 .defaultValue (Boolean .FALSE .toString ()) //
110110 .build ());
111111
@@ -116,7 +116,7 @@ public void define(Context context) {
116116 .category (CATEGORY_OPENEDGE ) //
117117 .subCategory (SUBCATEGORY_DEBUG ) //
118118 .defaultValue (Boolean .FALSE .toString ()) //
119- .onQualifiers ( Qualifiers .PROJECT ) //
119+ .onConfigScopes ( ConfigScope .PROJECT ) //
120120 .build ());
121121
122122 context .addExtension (PropertyDefinition .builder (Constants .SUFFIXES ) //
@@ -126,7 +126,7 @@ public void define(Context context) {
126126 .defaultValue (OpenEdge .DEFAULT_FILE_SUFFIXES ) //
127127 .category (CATEGORY_OPENEDGE ) //
128128 .subCategory (SUBCATEGORY_GENERAL ) //
129- .onQualifiers ( Qualifiers .PROJECT ) //
129+ .onConfigScopes ( ConfigScope .PROJECT ) //
130130 .build ());
131131
132132 context .addExtension (PropertyDefinition .builder (Constants .DB_SUFFIXES ) //
@@ -136,7 +136,7 @@ public void define(Context context) {
136136 .defaultValue ("df" ) //
137137 .category (CATEGORY_OPENEDGE ) //
138138 .subCategory (SUBCATEGORY_GENERAL ) //
139- .onQualifiers ( Qualifiers .PROJECT ) //
139+ .onConfigScopes ( ConfigScope .PROJECT ) //
140140 .build ());
141141
142142 context .addExtension (PropertyDefinition .builder (Constants .INCLUDE_SUFFIXES ) //
@@ -146,7 +146,7 @@ public void define(Context context) {
146146 .defaultValue (OpenEdge .DEFAULT_INCLUDE_FILE_SUFFIXES ) //
147147 .category (CATEGORY_OPENEDGE ) //
148148 .subCategory (SUBCATEGORY_GENERAL ) //
149- .onQualifiers ( Qualifiers .PROJECT ) //
149+ .onConfigScopes ( ConfigScope .PROJECT ) //
150150 .build ());
151151
152152 context .addExtension (PropertyDefinition .builder (Constants .CPD_ANNOTATIONS ) //
@@ -156,7 +156,7 @@ public void define(Context context) {
156156 .defaultValue ("Generated" ) //
157157 .category (CATEGORY_OPENEDGE ) //
158158 .subCategory (SUBCATEGORY_GENERAL ) //
159- .onQualifiers ( Qualifiers .PROJECT ) //
159+ .onConfigScopes ( ConfigScope .PROJECT ) //
160160 .build ());
161161
162162 context .addExtension (PropertyDefinition .builder (Constants .SKIP_ANNOTATIONS ) //
@@ -166,7 +166,7 @@ public void define(Context context) {
166166 .defaultValue ("@InitializeComponent" ) //
167167 .category (CATEGORY_OPENEDGE ) //
168168 .subCategory (SUBCATEGORY_GENERAL ) //
169- .onQualifiers ( Qualifiers .PROJECT ) //
169+ .onConfigScopes ( ConfigScope .PROJECT ) //
170170 .build ());
171171
172172 context .addExtension (PropertyDefinition .builder (Constants .BACKSLASH_ESCAPE ) //
@@ -176,7 +176,7 @@ public void define(Context context) {
176176 .defaultValue (Boolean .FALSE .toString ()) //
177177 .category (CATEGORY_OPENEDGE ) //
178178 .subCategory (SUBCATEGORY_GENERAL ) //
179- .onQualifiers ( Qualifiers .PROJECT ) //
179+ .onConfigScopes ( ConfigScope .PROJECT ) //
180180 .build ());
181181 }
182182
0 commit comments