|
59 | 59 | import org.kohsuke.stapler.QueryParameter; |
60 | 60 | import org.kohsuke.stapler.Stapler; |
61 | 61 | import org.kohsuke.stapler.StaplerRequest; |
| 62 | +import org.kohsuke.stapler.verb.POST; |
62 | 63 |
|
63 | 64 | import com.opencsv.CSVReader; |
64 | 65 | import groovy.lang.Binding; |
@@ -114,6 +115,7 @@ public String getDisplayName() { |
114 | 115 | return Messages.ExtendedChoiceParameterDefinition_DisplayName(); |
115 | 116 | } |
116 | 117 |
|
| 118 | + @POST |
117 | 119 | public FormValidation doCheckPropertyFile(@QueryParameter final String propertyFile, @QueryParameter final String propertyKey, |
118 | 120 | @QueryParameter final String type) throws IOException, ServletException { |
119 | 121 | if(StringUtils.isBlank(propertyFile)) { |
@@ -158,16 +160,19 @@ else if(StringUtils.isNotBlank(propertyKey)) { |
158 | 160 | } |
159 | 161 | } |
160 | 162 |
|
| 163 | + @POST |
161 | 164 | public FormValidation doCheckPropertyKey(@QueryParameter final String propertyFile, @QueryParameter final String propertyKey, |
162 | 165 | @QueryParameter final String type) throws IOException, ServletException { |
163 | 166 | return doCheckPropertyFile(propertyFile, propertyKey, type); |
164 | 167 | } |
165 | 168 |
|
| 169 | + @POST |
166 | 170 | public FormValidation doCheckDefaultPropertyFile(@QueryParameter final String defaultPropertyFile, |
167 | 171 | @QueryParameter final String defaultPropertyKey, @QueryParameter final String type) throws IOException, ServletException { |
168 | 172 | return doCheckPropertyFile(defaultPropertyFile, defaultPropertyKey, type); |
169 | 173 | } |
170 | 174 |
|
| 175 | + @POST |
171 | 176 | public FormValidation doCheckDefaultPropertyKey(@QueryParameter final String defaultPropertyFile, |
172 | 177 | @QueryParameter final String defaultPropertyKey, @QueryParameter final String type) throws IOException, ServletException { |
173 | 178 | return doCheckPropertyFile(defaultPropertyFile, defaultPropertyKey, type); |
|
0 commit comments