Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
doCheckLaunchTimeout(String launchTimeout)
Do check launch timeout form validation.
|
hudson.util.FormValidation |
doCheckMaxResults(String maxResults)
Do check max results form validation.
|
hudson.util.FormValidation |
doCheckServerName(String serverName)
Do check server name form validation.
|
hudson.util.FormValidation |
doValidate(String kernel,
String launchTimeout,
String maxResults)
Validate the server by testing it
|
String |
getDisplayName() |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
@Nonnull public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<Server>
public hudson.util.FormValidation doCheckServerName(@QueryParameter String serverName)
serverName
- the server namepublic hudson.util.FormValidation doCheckLaunchTimeout(@QueryParameter String launchTimeout)
launchTimeout
- the launch timeoutpublic hudson.util.FormValidation doCheckMaxResults(@QueryParameter String maxResults)
maxResults
- the max results@POST public hudson.util.FormValidation doValidate(@QueryParameter String kernel, @QueryParameter String launchTimeout, @QueryParameter String maxResults) throws Exception
kernel
- the kernellaunchTimeout
- the launch timeoutmaxResults
- the max resultsException
- throws NumberFormatException when passing invalid maxResultsCopyright © 2016–2020. All rights reserved.