|
||||||||||
| 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 |
doValidPortCheck(String value)
Validates that the port number is numeric and within a valid range |
String |
getDefaultHostName()
Returns the default host name for the Integrity Server |
String |
getDefaultIPHostName()
Returns the default Integration Point host name |
int |
getDefaultIPPort()
Returns the default Integration Point port |
String |
getDefaultPassword()
Returns the default user's password connecting to the Integrity Server |
int |
getDefaultPort()
Returns the default port for the Integrity Server |
boolean |
getDefaultSecure()
Returns the default secure setting for the Integrity Server |
String |
getDefaultUserName()
Returns the default User connecting to the Integrity Server |
String |
getDisplayName()
Returns the name of the SCM, this is the name that will show up next to CVS, Subversion, etc. |
hudson.scm.SCM |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
void |
setDefaultHostName(String defaultHostName)
Sets the default host name for the Integrity Server |
void |
setDefaultIPHostName(String defaultIPHostName)
Sets the default host name for the Integration Point |
void |
setDefaultIPPort(int defaultIPPort)
Sets the default port for the Integration Point |
void |
setDefaultPassword(String defaultPassword)
Sets the encrypted Password of the default user connecting to the Integrity Server |
void |
setDefaultPort(int defaultPort)
Sets the default port for the Integrity Server |
void |
setDefaultSecure(boolean defaultSecure)
Toggles whether or not secure sockets are enabled |
void |
setDefaultUserName(String defaultUserName)
Sets the default User connecting to the Integrity Server |
| Methods inherited from class hudson.scm.SCMDescriptor |
|---|
getBrowserDescriptors, getGeneration, isApplicable, isBrowserReusable, load |
| Methods inherited from class hudson.model.Descriptor |
|---|
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, 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 getDefaultHostName()
public String getDefaultIPHostName()
public int getDefaultPort()
public int getDefaultIPPort()
public boolean getDefaultSecure()
public String getDefaultUserName()
public String getDefaultPassword()
public void setDefaultHostName(String defaultHostName)
defaultHostName - public void setDefaultIPHostName(String defaultIPHostName)
defaultIPHostName - public void setDefaultPort(int defaultPort)
defaultPort - public void setDefaultIPPort(int defaultIPPort)
defaultIPPort - public void setDefaultSecure(boolean defaultSecure)
defaultSecure - public void setDefaultUserName(String defaultUserName)
defaultUserName - public void setDefaultPassword(String defaultPassword)
defaultPassword -
public hudson.util.FormValidation doValidPortCheck(@QueryParameter
String value)
value - Integer value for Port or IP Port
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||