|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.dry.ThresholdValidation
public class ThresholdValidation
Validates the number of lines thresholds.
| Constructor Summary | |
|---|---|
ThresholdValidation()
|
|
| Method Summary | |
|---|---|
int |
getHighThreshold(int normalThreshold,
int highThreshold)
Returns the minimum number of duplicate lines for a warning with priority high. |
int |
getNormalThreshold(int normalThreshold,
int highThreshold)
Returns the minimum number of duplicate lines for a warning with priority normal. |
hudson.util.FormValidation |
validateHigh(String highThreshold,
String normalThreshold)
Performs on-the-fly validation on threshold for high warnings. |
hudson.util.FormValidation |
validateNormal(String highThreshold,
String normalThreshold)
Performs on-the-fly validation on threshold for normal warnings. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThresholdValidation()
| Method Detail |
|---|
public hudson.util.FormValidation validateHigh(String highThreshold,
String normalThreshold)
highThreshold - the threshold for high warningsnormalThreshold - the threshold for normal warnings
public hudson.util.FormValidation validateNormal(String highThreshold,
String normalThreshold)
highThreshold - the threshold for high warningsnormalThreshold - the threshold for normal warnings
public int getHighThreshold(int normalThreshold,
int highThreshold)
normalThreshold - the normal thresholdhighThreshold - the high threshold
public int getNormalThreshold(int normalThreshold,
int highThreshold)
normalThreshold - the normal thresholdhighThreshold - the high threshold
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||