public static class DimensionsSCM.DescriptorImpl extends hudson.scm.SCMDescriptor<DimensionsSCM> implements hudson.model.ModelObject
| Constructor and Description |
|---|
DimensionsSCM.DescriptorImpl()
Loads the SCM descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jobj)
Save the SCM descriptor configuration.
|
hudson.util.FormValidation |
doCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
hudson.util.FormValidation |
docheckServer(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String user,
String passwd,
String server,
String database,
String jobuser,
String jobPasswd,
String jobServer,
String jobDatabase)
Check if the specified Dimensions server is valid.
|
hudson.util.FormValidation |
docheckTz(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String timezone,
String jobtimezone)
Check if the specified Dimensions server is valid.
|
hudson.util.FormValidation |
domanadatoryFieldCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
hudson.util.FormValidation |
domanadatoryJobFieldCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
String |
getDatabase()
Gets the base database for the connection (as "NAME@CONNECTION").
|
String |
getDisplayName() |
String |
getPasswd()
Gets the password.
|
String |
getServer()
Gets the server for the connection.
|
String |
getTimeZone()
Gets the timezone for the connection.
|
String |
getUserName()
Gets the user ID for the connection.
|
String |
getWebUrl()
Gets the web URL for the connection.
|
boolean |
isCanUpdate()
Gets the update.
|
hudson.scm.SCM |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
void |
setCanUpdate(boolean x)
Sets the update.
|
void |
setDatabase(String database)
Sets the base database for the connection (as "NAME@CONNECTION").
|
void |
setPasswd(String password)
Sets the password.
|
void |
setServer(String server)
Sets the server for the connection.
|
void |
setTimeZone(String x)
Sets the timezone for the connection.
|
void |
setUserName(String userName)
Sets the user ID for the connection.
|
void |
setWebUrl(String x)
Sets the web URL for the connection.
|
getBrowserDescriptors, isApplicable, isBrowserReusable, loadaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic DimensionsSCM.DescriptorImpl()
public String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectgetDisplayName in class hudson.model.Descriptor<hudson.scm.SCM>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jobj)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.scm.SCM>hudson.model.Descriptor.FormExceptionpublic 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 getTimeZone()
public String getWebUrl()
public String getUserName()
public String getDatabase()
public String getServer()
public String getPasswd()
public boolean isCanUpdate()
public void setCanUpdate(boolean x)
public void setUserName(String userName)
public void setDatabase(String database)
public void setServer(String server)
public void setPasswd(String password)
public void setTimeZone(String x)
public void setWebUrl(String x)
public hudson.util.FormValidation doCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation domanadatoryFieldCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation domanadatoryJobFieldCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation docheckTz(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter(value="dimensionsscm.timeZone")
String timezone,
@QueryParameter(value="dimensionsscm.jobTimeZone")
String jobtimezone)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation docheckServer(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter(value="dimensionsscm.userName")
String user,
@QueryParameter(value="dimensionsscm.passwd")
String passwd,
@QueryParameter(value="dimensionsscm.server")
String server,
@QueryParameter(value="dimensionsscm.database")
String database,
@QueryParameter(value="dimensionsscm.jobUserName")
String jobuser,
@QueryParameter(value="dimensionsscm.jobPasswd")
String jobPasswd,
@QueryParameter(value="dimensionsscm.jobServer")
String jobServer,
@QueryParameter(value="dimensionsscm.jobDatabase")
String jobDatabase)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionCopyright © 2004-2016. All Rights Reserved.