|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.util.FormFieldValidator
hudson.plugins.warnings.util.SingleFieldValidator
hudson.plugins.warnings.util.ThresholdValidator
public class ThresholdValidator
Validates a threshold parameter. A threshold must be an integer value greater or equal 0 or the empty string.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.util.FormFieldValidator |
|---|
hudson.util.FormFieldValidator.Executable, hudson.util.FormFieldValidator.HudsonURL, hudson.util.FormFieldValidator.URLCheck, hudson.util.FormFieldValidator.WorkspaceDirectory, hudson.util.FormFieldValidator.WorkspaceFileMask, hudson.util.FormFieldValidator.WorkspaceFilePath |
| Field Summary |
|---|
| Fields inherited from class hudson.util.FormFieldValidator |
|---|
CHECK, permission, request, response, subject |
| Constructor Summary | |
|---|---|
ThresholdValidator(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Creates a new instance of ThresholdValidator. |
|
| Method Summary | |
|---|---|
void |
check(java.lang.String value)
Checks the input value. |
| Methods inherited from class hudson.plugins.warnings.util.SingleFieldValidator |
|---|
check |
| Methods inherited from class hudson.util.FormFieldValidator |
|---|
error, error, errorWithMarkup, getFileParameter, ok, process, warning, warning, warningWithMarkup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThresholdValidator(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
ThresholdValidator.
request - Stapler requestresponse - Stapler response| Method Detail |
|---|
public void check(java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
check in class SingleFieldValidatorvalue - the value to check
java.io.IOException - Signals that an I/O exception has occurred.
javax.servlet.ServletException - the servlet exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||