Package | Description |
---|---|
hudson | |
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.slaves |
Code related to slaves.
|
hudson.tasks | |
hudson.tools | |
hudson.triggers |
Built-in Triggers that run periodically to kick a new build.
|
hudson.util |
Other miscellaneous utility code
|
jenkins.model | |
jenkins.triggers | |
jenkins.util |
Modifier and Type | Method and Description |
---|---|
FormValidation |
ProxyConfiguration.DescriptorImpl.doCheckPort(String value) |
FormValidation |
ProxyConfiguration.DescriptorImpl.doValidateProxy(String testUrl,
String name,
int port,
String userName,
String password,
String noProxyHost) |
static FormValidation |
FilePath.validateFileMask(FilePath path,
String value)
Short for
validateFileMask(path, value, true) |
static FormValidation |
FilePath.validateFileMask(FilePath path,
String value,
boolean caseSensitive)
Shortcut for
#validateFileMask(String,true,boolean) as the left-hand side can be null. |
FormValidation |
FilePath.validateFileMask(String value)
Short for
validateFileMask(value, true, true) |
FormValidation |
FilePath.validateFileMask(String value,
boolean errorIfNotExist)
Short for
validateFileMask(value, errorIfNotExist, true) |
FormValidation |
FilePath.validateFileMask(String value,
boolean errorIfNotExist,
boolean caseSensitive)
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 . |
Modifier and Type | Method and Description |
---|---|
abstract FormValidation |
AbstractProject.LabelValidator.check(AbstractProject<?,?> project,
Label label)
Check the use of the label within the specified context.
|
protected FormValidation |
JDK.DescriptorImpl.checkHomeDirectory(File value)
Checks if the JAVA_HOME is a valid JAVA_HOME path.
|
FormValidation |
AbstractProject.AbstractProjectDescriptor.doCheckAssignedLabelString(AbstractProject<?,?> project,
String value) |
FormValidation |
ChoiceParameterDefinition.DescriptorImpl.doCheckChoices(String value)
Checks if parameterised build choices are valid.
|
FormValidation |
AbstractProject.AbstractProjectDescriptor.doCheckCustomWorkspace(String customWorkspace) |
FormValidation |
ListView.DescriptorImpl.doCheckIncludeRegex(String value)
Checks if the include regular expression is valid.
|
FormValidation |
AbstractProject.AbstractProjectDescriptor.doCheckLabel(AbstractProject<?,?> project,
String value) |
FormValidation |
ComputerSet.doCheckName(String value)
Makes sure that the given name is good as a slave name.
|
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.
|
FormValidation |
UpdateSite.updateDirectlyNow(boolean signatureCheck) |
FormValidation |
DownloadService.Downloadable.updateNow() |
static FormValidation |
AbstractProject.AbstractProjectDescriptor.validateLabelExpression(String value,
AbstractProject<?,?> project)
Validate label expression string.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
User.save()
Save the settings to a file.
|
Modifier and Type | Method and Description |
---|---|
FormValidation |
SimpleScheduledRetentionStrategy.DescriptorImpl.doCheck(String value)
Performs syntax check.
|
FormValidation |
CommandLauncher.DescriptorImpl.doCheckCommand(String value) |
FormValidation |
NodeDescriptor.doCheckName(String value) |
Modifier and Type | Method and Description |
---|---|
protected FormValidation |
Maven.MavenInstallation.DescriptorImpl.checkHomeDirectory(File value)
Checks if the MAVEN_HOME is valid.
|
FormValidation |
Fingerprinter.DescriptorImpl.doCheck(AbstractProject project,
String value)
Deprecated.
|
FormValidation |
BuildTrigger.DescriptorImpl.doCheck(AbstractProject project,
String value)
Form validation method.
|
FormValidation |
ArtifactArchiver.DescriptorImpl.doCheckArtifacts(AbstractProject project,
String value,
String caseSensitive)
Performs on-the-fly validation of the file mask wildcard, when the artifacts
textbox or the caseSensitive checkbox are modified
|
FormValidation |
Shell.DescriptorImpl.doCheckShell(String value)
Check the existence of sh in the given location.
|
FormValidation |
Fingerprinter.DescriptorImpl.doCheckTargets(AbstractProject<?,?> project,
String value) |
Modifier and Type | Method and Description |
---|---|
protected FormValidation |
ToolDescriptor.checkHomeDirectory(File home)
May be overridden to provide tool-specific validation of a tool home directory.
|
FormValidation |
JDKInstaller.DescriptorImpl.doCheckAcceptLicense(boolean value) |
FormValidation |
AbstractCommandInstaller.Descriptor.doCheckCommand(String value) |
FormValidation |
ToolDescriptor.doCheckHome(File value)
Checks if the home directory is valid.
|
FormValidation |
JDKInstaller.DescriptorImpl.doCheckId(String value) |
FormValidation |
ToolDescriptor.doCheckName(String value)
Checks if the tool name is valid.
|
FormValidation |
AbstractCommandInstaller.Descriptor.doCheckToolHome(String value) |
FormValidation |
ZipExtractionInstaller.DescriptorImpl.doCheckUrl(String value) |
Modifier and Type | Method and Description |
---|---|
FormValidation |
TimerTrigger.DescriptorImpl.doCheck(String value,
Item item) |
FormValidation |
SCMTrigger.DescriptorImpl.doCheckPollingThreadCount(String value) |
FormValidation |
TimerTrigger.DescriptorImpl.doCheckSpec(String value,
Item item)
Performs syntax check.
|
Modifier and Type | Method and Description |
---|---|
static FormValidation |
FormValidation.aggregate(Collection<FormValidation> validations)
Aggregate multiple validations into one.
|
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) |
Modifier and Type | Method and Description |
---|---|
static FormValidation |
FormValidation.aggregate(Collection<FormValidation> validations)
Aggregate multiple validations into one.
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
FormValidation |
ReverseBuildTrigger.DescriptorImpl.doCheckUpstreamProjects(Job project,
String value) |
Modifier and Type | Method and Description |
---|---|
FormValidation |
JSONSignatureValidator.verifySignature(net.sf.json.JSONObject o)
Verifies the signature in the update center data file.
|
Copyright © 2016. All rights reserved.