|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.util.FormFieldValidator
hudson.plugins.findbugs.util.SingleFieldValidator
hudson.plugins.findbugs.util.TrendReportHeightValidator
public class TrendReportHeightValidator
Controls the size of a trend report.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.util.FormFieldValidator |
|---|
hudson.util.FormFieldValidator.Base64, hudson.util.FormFieldValidator.Executable, hudson.util.FormFieldValidator.HudsonURL, hudson.util.FormFieldValidator.NonNegativeInteger, 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 | |
|---|---|
TrendReportHeightValidator(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Creates a new instance of TrendReportHeightValidator. |
|
| Method Summary | |
|---|---|
void |
check(java.lang.String value)
Checks the input value. |
static int |
defaultHeight(java.lang.String height)
Returns a normalized height for the trend graph (always greater than 50). |
| Methods inherited from class hudson.plugins.findbugs.util.SingleFieldValidator |
|---|
check |
| Methods inherited from class hudson.util.FormFieldValidator |
|---|
error, error, errorWithMarkup, getFileParameter, ok, ok, ok, okWithMarkup, process, respond, warning, warning, warningWithMarkup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrendReportHeightValidator(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
TrendReportHeightValidator.
request - Stapler requestresponse - Stapler response| Method Detail |
|---|
public static int defaultHeight(java.lang.String height)
height - the input height value to normalize
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 | |||||||||