@Extension
public class SiteMonitorDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| Constructor and Description |
|---|
SiteMonitorDescriptor()
Constructs
SiteMonitorDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject json)
Handles SiteMonitor global configuration per Jenkins instance.
|
hudson.util.FormValidation |
doCheckGlobalResponseCodes(String value) |
hudson.util.FormValidation |
doCheckGlobalTimeout(String value) |
hudson.util.FormValidation |
doCheckResponseCodes(String value) |
hudson.util.FormValidation |
doCheckTimeout(String value) |
hudson.util.FormValidation |
doCheckUrl(String value) |
String |
getDisplayName() |
List<Integer> |
getSuccessResponseCodes() |
String |
getSuccessResponseCodesCsv() |
Integer |
getTimeout() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> clazz)
Checks whether this descriptor is applicable.
|
hudson.tasks.Publisher |
newInstance(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject json)
Handles SiteMonitor configuration for each job.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic SiteMonitorDescriptor()
SiteMonitorDescriptor.public final String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public final boolean isApplicable(Class<? extends hudson.model.AbstractProject> clazz)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>clazz - the classpublic final List<Integer> getSuccessResponseCodes()
public final String getSuccessResponseCodesCsv()
public final Integer getTimeout()
public final hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject json)
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>request - the stapler requestjson - the JSON data containing job configuration valuespublic final boolean configure(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject json)
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>request - the stapler requestjson - the JSON data containing job configuration valuespublic final hudson.util.FormValidation doCheckUrl(@QueryParameter
String value)
value - the value to validatepublic final hudson.util.FormValidation doCheckGlobalResponseCodes(@QueryParameter
String value)
value - the value to validatepublic final hudson.util.FormValidation doCheckGlobalTimeout(@QueryParameter
String value)
value - the value to validatepublic final hudson.util.FormValidation doCheckResponseCodes(@QueryParameter
String value)
value - the value to validatepublic final hudson.util.FormValidation doCheckTimeout(@QueryParameter
String value)
value - the value to validateCopyright © 2016–2019. All rights reserved.