Uses of Class
hudson.util.FormValidation

Packages that use FormValidation
hudson   
hudson.diagnosis   
hudson.matrix Matrix project 
hudson.maven Maven support. 
hudson.model Core object model that are bound to URLs via stapler, rooted at Hudson
hudson.security Security-related code. 
hudson.slaves Code related to slaves. 
hudson.tasks Built-in Builders and Publishers that perform the actual heavy-lifting of a build. 
hudson.tasks.junit Model objects that represent JUnit test reports. 
hudson.tasks.test Defines contracts that need to be implemented by a test reporting action (such as the built-in JUnit one). 
hudson.tools   
hudson.triggers Built-in Triggers that run periodically to kick a new build. 
hudson.util Other miscellaneous utility code 
jenkins.model   
jenkins.plugins.ui_samples   
jenkins.util   
org.jvnet.hudson.test Test harness for Jenkins and its plugins. 
 

Uses of FormValidation in hudson
 

Methods in hudson that return FormValidation
 FormValidation ProxyConfiguration.DescriptorImpl.doCheckPort(String value)
           
static FormValidation FilePath.validateFileMask(FilePath pathOrNull, String value)
          Shortcut for FilePath.validateFileMask(String) in case the left-hand side can be null.
 FormValidation FilePath.validateFileMask(String value)
          Short for validateFileMask(value,true)
 FormValidation FilePath.validateFileMask(String value, boolean errorIfNotExist)
          Checks the GLOB-style file mask.
 FormValidation FilePath.validateRelativeDirectory(String value)
           
 FormValidation FilePath.validateRelativeDirectory(String value, boolean errorIfNotExist)
          A convenience method over FilePath.validateRelativePath(String, boolean, boolean).
 FormValidation FilePath.validateRelativePath(String value, boolean errorIfNotExist, boolean expectingFile)
          Validates a relative file path from this FilePath.
 

Uses of FormValidation in hudson.diagnosis
 

Methods in hudson.diagnosis that return FormValidation
 FormValidation ReverseProxySetupMonitor.doFoo()
           
 

Uses of FormValidation in hudson.matrix
 

Methods in hudson.matrix that return FormValidation
 FormValidation AxisDescriptor.doCheckName(String value)
          Makes sure that the given name is good as a axis name.
 

Methods in hudson.matrix that throw FormValidation
abstract  void MatrixConfigurationSorter.validate(MatrixProject p)
          Checks if this sorter is properly configured and applicable for the given project.
 void NoopMatrixConfigurationSorter.validate(MatrixProject p)
           
 

Uses of FormValidation in hudson.maven
 

Methods in hudson.maven that return FormValidation
 FormValidation MavenModuleSet.doCheckFileInWorkspace(String value)
          Check the location of the POM, alternate settings file, etc - any file.
 

Uses of FormValidation in hudson.model
 

Methods in hudson.model that return FormValidation
 FormValidation AbstractProject.AbstractProjectDescriptor.doCheckAssignedLabelString(String value)
           
 FormValidation AbstractProject.AbstractProjectDescriptor.doCheckCustomWorkspace(String customWorkspace)
           
 FormValidation JDK.DescriptorImpl.doCheckHome(File value)
          Checks if the JAVA_HOME is a valid JAVA_HOME path.
 FormValidation ListView.DescriptorImpl.doCheckIncludeRegex(String value)
          Checks if the include regular expression is valid.
 FormValidation ComputerSet.doCheckName(String value)
          Makes sure that the given name is good as a slave name.
 FormValidation JDK.DescriptorImpl.doCheckName(String value)
           
 FormValidation Slave.SlaveDescriptor.doCheckNumExecutors(String value)
           
 FormValidation Slave.SlaveDescriptor.doCheckRemoteFS(String value)
          Performs syntactical check on the remote FS for slaves.
 FormValidation AbstractProject.doCheckRetryCount(String value)
          Validates the retry count Regex
 FormValidation Hudson.doFieldCheck(String value, String type, String errorText, String warningText)
          Deprecated. as of 1.324 Either use client-side validation (e.g. class="required number") or define your own check method, instead of relying on this generic one.
 FormValidation UpdateSite.doPostBack(org.kohsuke.stapler.StaplerRequest req)
          This is the endpoint that receives the update center data file from the browser.
 FormValidation UpdateSite.doVerifySignature()
           
 FormValidation ProxyView.doViewExistsCheck(String value)
          Fails if a global view with the given name does not exist.
 FormValidation MyViewsProperty.doViewExistsCheck(String value, boolean exists)
          Checks if a private view with the given name exists.
 

Methods in hudson.model that return types with arguments of type FormValidation
 List<FormValidation> UpdateCenter.updateAllSites()
          Ensure that all UpdateSites are up to date, without requiring a user to browse to the instance.
 Future<FormValidation> UpdateSite.updateDirectly(boolean signatureCheck)
          Update the data file from the given URL if the file does not exist, or is otherwise due for update.
 

Uses of FormValidation in hudson.security
 

Methods in hudson.security that return FormValidation
 FormValidation GlobalMatrixAuthorizationStrategy.DescriptorImpl.doCheckName_(String value, AccessControlled subject, Permission permission)
           
 FormValidation AuthorizationMatrixProperty.DescriptorImpl.doCheckName(Job project, String value)
           
 FormValidation GlobalMatrixAuthorizationStrategy.DescriptorImpl.doCheckName(String value)
           
 

Uses of FormValidation in hudson.slaves
 

Methods in hudson.slaves that return FormValidation
 FormValidation SimpleScheduledRetentionStrategy.DescriptorImpl.doCheck(String value)
          Performs syntax check.
 FormValidation CommandLauncher.DescriptorImpl.doCheckCommand(String value)
           
 FormValidation NodeDescriptor.doCheckName(String value)
           
 

Uses of FormValidation in hudson.tasks
 

Methods in hudson.tasks that return FormValidation
 FormValidation Fingerprinter.DescriptorImpl.doCheck(AbstractProject project, String value)
          Performs on-the-fly validation on the file mask wildcard.
 FormValidation BuildTrigger.DescriptorImpl.doCheck(Item project, String value, boolean upstream)
          Form validation method.
 FormValidation Shell.DescriptorImpl.doCheck(String value)
          Check the existence of sh in the given location.
 FormValidation ArtifactArchiver.DescriptorImpl.doCheckArtifacts(AbstractProject project, String value)
          Performs on-the-fly validation on the file mask wildcard.
 FormValidation Maven.MavenInstallation.DescriptorImpl.doCheckMavenHome(File value)
          Checks if the MAVEN_HOME is valid.
 FormValidation Maven.MavenInstallation.DescriptorImpl.doCheckName(String value)
           
 

Uses of FormValidation in hudson.tasks.junit
 

Methods in hudson.tasks.junit that return FormValidation
 FormValidation JUnitResultArchiver.DescriptorImpl.doCheckTestResults(AbstractProject project, String value)
          Performs on-the-fly validation on the file mask wildcard.
 

Uses of FormValidation in hudson.tasks.test
 

Methods in hudson.tasks.test that return FormValidation
 FormValidation AggregatedTestResultPublisher.DescriptorImpl.doCheck(AbstractProject project, String value)
           
 

Uses of FormValidation in hudson.tools
 

Methods in hudson.tools that return FormValidation
 FormValidation JDKInstaller.DescriptorImpl.doCheckAcceptLicense(boolean value)
           
 FormValidation CommandInstaller.DescriptorImpl.doCheckCommand(String value)
           
 FormValidation JDKInstaller.DescriptorImpl.doCheckId(String value)
           
 FormValidation CommandInstaller.DescriptorImpl.doCheckToolHome(String value)
           
 FormValidation ZipExtractionInstaller.DescriptorImpl.doCheckUrl(String value)
           
 

Uses of FormValidation in hudson.triggers
 

Methods in hudson.triggers that return FormValidation
 FormValidation TimerTrigger.DescriptorImpl.doCheck(String value)
           
 FormValidation SCMTrigger.DescriptorImpl.doCheckPollingThreadCount(String value)
           
 FormValidation TimerTrigger.DescriptorImpl.doCheckSpec(String value)
          Performs syntax check.
 

Uses of FormValidation in hudson.util
 

Methods in hudson.util that return FormValidation
protected abstract  FormValidation FormValidation.URLCheck.check()
          Implement the actual form validation logic, by using other convenience methosd defined in this class.
static FormValidation FormValidation.error(String message)
          Sends out a string error message that indicates an error.
static FormValidation FormValidation.error(String format, Object... args)
          Sends out a string error message that indicates an error, by formatting it with String.format(String, Object[])
static FormValidation FormValidation.error(Throwable e, String message)
          Sends out a string error message, with optional "show details" link that expands to the full stack trace.
static FormValidation FormValidation.error(Throwable e, String format, Object... args)
           
static FormValidation FormValidation.errorWithMarkup(String message)
          Sends out an HTML fragment that indicates an error.
protected  FormValidation FormValidation.URLCheck.handleIOException(String url, IOException e)
          Calls the error(String) method with a reasonable error message.
static FormValidation FormValidation.ok()
           
static FormValidation FormValidation.ok(String message)
           
static FormValidation FormValidation.ok(String format, Object... args)
           
static FormValidation FormValidation.okWithMarkup(String message)
           
static FormValidation FormValidation.respond(FormValidation.Kind kind, String html)
          Sends out an arbitrary HTML fragment as the output.
abstract  FormValidation FormValidation.FileValidator.validate(File f)
           
static FormValidation FormValidation.validateBase64(String value, boolean allowWhitespace, boolean allowEmpty, String errorMessage)
          Makes sure that the given string is a base64 encoded text.
static FormValidation FormValidation.validateExecutable(String exe)
          Makes sure that the given string points to an executable file.
static FormValidation FormValidation.validateExecutable(String exe, FormValidation.FileValidator exeValidator)
          Makes sure that the given string points to an executable file.
static FormValidation FormValidation.validateNonNegativeInteger(String value)
          Makes sure that the given string is a non-negative integer.
static FormValidation FormValidation.validatePositiveInteger(String value)
          Makes sure that the given string is a positive integer.
static FormValidation FormValidation.validateRequired(String value)
          Makes sure that the given string is not null or empty.
static FormValidation FormValidation.warning(String message)
           
static FormValidation FormValidation.warning(String format, Object... args)
           
static FormValidation FormValidation.warning(Throwable e, String message)
           
static FormValidation FormValidation.warning(Throwable e, String format, Object... args)
           
static FormValidation FormValidation.warningWithMarkup(String message)
           
 

Uses of FormValidation in jenkins.model
 

Methods in jenkins.model that return FormValidation
 FormValidation JenkinsLocationConfiguration.doCheckAdminAddress(String value)
           
 FormValidation Jenkins.doCheckDisplayName(String displayName, String jobName)
          Checks to see if the candidate displayName collides with any existing display names or project names
 FormValidation Jenkins.doCheckJobName(String value)
          Makes sure that the given name is good as a job name.
 FormValidation ProjectNamingStrategy.PatternProjectNamingStrategy.DescriptorImpl.doCheckNamePattern(String value)
           
 FormValidation Jenkins.DescriptorImpl.doCheckNumExecutors(String value)
           
 FormValidation Jenkins.DescriptorImpl.doCheckRawBuildsDir(String value)
           
 FormValidation Jenkins.doCheckURIEncoding(org.kohsuke.stapler.StaplerRequest request)
          Checks if container uses UTF-8 to decode URLs.
 FormValidation JenkinsLocationConfiguration.doCheckUrl(String value)
          Checks the URL in global.jelly
 FormValidation Jenkins.doCheckViewName(String value)
          Checks if a top-level view with the given name exists and make sure that the name is good as a view name.
 FormValidation Jenkins.doDefaultJDKCheck(org.kohsuke.stapler.StaplerRequest request, String value)
          If the user chose the default JDK, make sure we got 'java' in PATH.
 FormValidation Jenkins.doViewExistsCheck(String value)
          Deprecated. 1.512
 

Uses of FormValidation in jenkins.plugins.ui_samples
 

Methods in jenkins.plugins.ui_samples that return FormValidation
 FormValidation FormFieldValidationWithContext.State.DescriptorImpl.doCheckName(String value, String name)
           
 FormValidation FormFieldValidationWithContext.City.DescriptorImpl.doCheckName(String value, String name)
           
 

Uses of FormValidation in jenkins.util
 

Methods in jenkins.util that return FormValidation
 FormValidation JSONSignatureValidator.verifySignature(net.sf.json.JSONObject o)
          Verifies the signature in the update center data file.
 

Uses of FormValidation in org.jvnet.hudson.test
 

Methods in org.jvnet.hudson.test that return types with arguments of type FormValidation
static org.hamcrest.Matcher<FormValidation> JenkinsMatchers.causedBy(Class<? extends Throwable> cause)
           
static org.hamcrest.Matcher<FormValidation> JenkinsMatchers.hasKind(FormValidation.Kind kind)
           
 



Copyright © 2004-2013. All Rights Reserved.