|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
hudson.plugins.sitemonitor.SiteMonitorDescriptor
@Extension public class SiteMonitorDescriptor
Handles the global and job configuration management.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
|---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self |
| Field Summary |
|---|
| Fields inherited from class hudson.model.Descriptor |
|---|
clazz |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
SiteMonitorDescriptor()
Constructs SiteMonitorDescriptor. |
|
| Method Summary | |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject json)
Handles SiteMonitor global configuration per Jenkins instance. |
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. |
| Methods inherited from class hudson.tasks.BuildStepDescriptor |
|---|
filter |
| Methods inherited from class hudson.model.Descriptor |
|---|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SiteMonitorDescriptor()
SiteMonitorDescriptor.
| Method Detail |
|---|
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 class
public 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 values
public 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 values
public final hudson.util.FormValidation doCheckUrl(@QueryParameter
String value)
value - the value to validate
public final hudson.util.FormValidation doCheckResponseCodes(@QueryParameter
String value)
value - the value to validate
public final hudson.util.FormValidation doCheckTimeout(@QueryParameter
String value)
value - the value to validate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||