Skip to content

Commit

Permalink
Merge pull request #118 from jenkinsci/fixdatabound
Browse files Browse the repository at this point in the history
Fixed some missed data binding annotations in global config
  • Loading branch information
rsandell authored Oct 25, 2019
2 parents 3f2fa7a + ca3fdd3 commit cfdf865
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ public List<String> getFallbackCategories() {
*
* @param doNotAnalyzeAbortedJob on or off.
*/
@DataBoundSetter
public void setDoNotAnalyzeAbortedJob(boolean doNotAnalyzeAbortedJob) {
this.doNotAnalyzeAbortedJob = doNotAnalyzeAbortedJob;
}
Expand All @@ -492,6 +493,7 @@ public void setDoNotAnalyzeAbortedJob(boolean doNotAnalyzeAbortedJob) {
*
* @param globalEnabled on or off.
*/
@DataBoundSetter
public void setGlobalEnabled(boolean globalEnabled) {
this.globalEnabled = globalEnabled;
}
Expand All @@ -502,6 +504,7 @@ public void setGlobalEnabled(boolean globalEnabled) {
*
* @param testResultParsingEnabled on or off.
*/
@DataBoundSetter
public void setTestResultParsingEnabled(boolean testResultParsingEnabled) {
this.testResultParsingEnabled = testResultParsingEnabled;
}
Expand All @@ -511,6 +514,7 @@ public void setTestResultParsingEnabled(boolean testResultParsingEnabled) {
*
* @param testResultCategories Space-separated string with categories
*/
@DataBoundSetter
public void setTestResultCategories(String testResultCategories) {
this.testResultCategories = testResultCategories;
}
Expand All @@ -534,6 +538,7 @@ public boolean isGerritTriggerEnabled() {
*
* @param gerritTriggerEnabled on or off.
*/
@DataBoundSetter
public void setGerritTriggerEnabled(boolean gerritTriggerEnabled) {
this.gerritTriggerEnabled = gerritTriggerEnabled;
}
Expand All @@ -557,6 +562,7 @@ public int getNrOfScanThreads() {
*
* @param nrOfScanThreads the number of scan threads.
*/
@DataBoundSetter
public void setNrOfScanThreads(int nrOfScanThreads) {
if (nrOfScanThreads < MINIMUM_NR_OF_SCAN_THREADS) {
throw new IllegalArgumentException("Minimum nrOfScanThreads is " + MINIMUM_NR_OF_SCAN_THREADS);
Expand All @@ -569,6 +575,7 @@ public void setNrOfScanThreads(int nrOfScanThreads) {
*
* @param maxLogSize value
*/
@DataBoundSetter
public void setMaxLogSize(int maxLogSize) {
this.maxLogSize = maxLogSize;
}
Expand Down

0 comments on commit cfdf865

Please sign in to comment.