|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.Descriptor<hudson.scm.SCM>
hudson.scm.SCMDescriptor<IntegritySCM>
hudson.scm.IntegritySCM.DescriptorImpl
public static class IntegritySCM.DescriptorImpl
The relationship of Descriptor and SCM (the describable) is akin to class and object. This means the descriptor is used to create instances of the describable. Usually the Descriptor is an internal class in the SCM class named DescriptorImpl. The Descriptor should also contain the global configuration options as fields, just like the SCM class contains the configurations options for a job.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
|---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Field Summary | |
|---|---|
static IntegritySCM.DescriptorImpl |
INTEGRITY_DESCRIPTOR
|
| Fields inherited from class hudson.scm.SCMDescriptor |
|---|
generation, repositoryBrowser |
| Fields inherited from class hudson.model.Descriptor |
|---|
clazz |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
protected |
IntegritySCM.DescriptorImpl()
|
| Method Summary | |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
This method is invoked when the global configuration page is submitted. |
hudson.util.FormValidation |
doGlobalOptionsCheck(String value)
The field mks.globalOptions will be validated through the checkUrl. |
String |
getDisplayName()
Returns the name of the SCM, this is the name that will show up next to CVS, Subversion, etc. |
String |
getGlobalOptions()
Returns the MKS Integrity global options configured for this plugin |
hudson.scm.SCM |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
void |
setGlobalOptions(String globalOptions)
Sets the MKS Integrity global options configured for this plugin |
| Methods inherited from class hudson.scm.SCMDescriptor |
|---|
getBrowserDescriptors, isApplicable, isBrowserReusable, load |
| Methods inherited from class hudson.model.Descriptor |
|---|
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, 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 |
| Field Detail |
|---|
@Extension public static final IntegritySCM.DescriptorImpl INTEGRITY_DESCRIPTOR
| Constructor Detail |
|---|
protected IntegritySCM.DescriptorImpl()
| Method Detail |
|---|
public hudson.scm.SCM newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
newInstance in class hudson.model.Descriptor<hudson.scm.SCM>hudson.model.Descriptor.FormExceptionpublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.scm.SCM>
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.scm.SCM>hudson.model.Descriptor.FormExceptionpublic String getGlobalOptions()
public void setGlobalOptions(String globalOptions)
public hudson.util.FormValidation doGlobalOptionsCheck(@QueryParameter
String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||