|
||||||||||
| 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<T>
org.cloudsmith.jenkins.stackhammer.common.StackOpDescriptor<hudson.tasks.Builder>
org.cloudsmith.jenkins.stackhammer.validation.ValidationDescriptor
@Extension public final class ValidationDescriptor
Descriptor for Validator. Used as a singleton.
The class is marked as public so that it can be accessed from views.
See src/main/resources/com/cloudsmith/hammer/jenkins/validation/Validator/*.jelly for the actual HTML fragment for the configuration screen.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
|---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Field Summary |
|---|
| Fields inherited from class hudson.model.Descriptor |
|---|
clazz |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
ValidationDescriptor()
|
|
| Method Summary | |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
hudson.util.FormValidation |
doCheckMaxTime(String value)
Performs on-the-fly validation of the form field 'maxTime'. |
hudson.util.FormValidation |
doCheckPollInterval(String value)
Performs on-the-fly validation of the form field 'pollInterval'. |
hudson.util.FormValidation |
doCheckServerURL(String value)
Performs on-the-fly validation of the form field 'serviceURL'. |
String |
getDisplayName()
This human readable name is used in the configuration screen. |
Integer |
getMaxTime()
This method returns the max time from the global configuration |
Integer |
getPollInterval()
This method returns the poll interval from the global configuration |
String |
getServiceURL()
This method returns the serviceURL of the global configuration. |
| Methods inherited from class org.cloudsmith.jenkins.stackhammer.common.StackOpDescriptor |
|---|
doCheckStack, getParameter, isApplicable |
| Methods inherited from class hudson.tasks.BuildStepDescriptor |
|---|
filter |
| Methods inherited from class hudson.model.Descriptor |
|---|
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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValidationDescriptor()
| Method Detail |
|---|
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.tasks.Builder>hudson.model.Descriptor.FormException
public hudson.util.FormValidation doCheckMaxTime(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - This parameter receives the value that the user has typed.
IOException
javax.servlet.ServletException
public hudson.util.FormValidation doCheckPollInterval(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - This parameter receives the value that the user has typed.
IOException
javax.servlet.ServletException
public hudson.util.FormValidation doCheckServerURL(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - This parameter receives the value that the user has typed.
IOException
javax.servlet.ServletExceptionpublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>public Integer getMaxTime()
public Integer getPollInterval()
public String getServiceURL()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||