com.urbancode.ds.jenkins.plugins.serenarapublisher
Class UrbanDeployPublisherDescriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
com.urbancode.ds.jenkins.plugins.serenarapublisher.UrbanDeployPublisherDescriptor
- All Implemented Interfaces:
- hudson.model.Saveable
public class UrbanDeployPublisherDescriptor
- extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self |
| Fields inherited from class hudson.model.Descriptor |
clazz |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
|
Method Summary |
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
void |
doTestApplicationExists(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String application,
String siteName)
|
void |
doTestApplicationProcessExists(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String applicationProcess,
String application,
String siteName)
|
void |
doTestComponentExists(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String component,
String siteName)
|
void |
doTestConnection(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String url,
String user,
String password)
|
void |
doTestEnvironmentExists(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String environment,
String application,
String siteName)
|
String |
getDisplayName()
The name of the plugin to display them on the project configuration web page. |
String |
getHelpFile()
Return the location of the help document for this publisher. |
UrbanDeploySite |
getSiteByName(String siteName)
The getter of the site. |
UrbanDeploySite[] |
getSites()
The getter of the sites field. |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
|
hudson.tasks.Notifier |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
| Methods inherited from class hudson.tasks.BuildStepDescriptor |
filter |
| Methods inherited from class hudson.model.Descriptor |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, 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 |
UrbanDeployPublisherDescriptor
public UrbanDeployPublisherDescriptor()
- The default constructor.
getDisplayName
public String getDisplayName()
- The name of the plugin to display them on the project configuration web page.
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
- Returns:
- See Also:
Descriptor.getDisplayName()
getHelpFile
public String getHelpFile()
- Return the location of the help document for this publisher.
- Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.tasks.Publisher>
- Returns:
- See Also:
Descriptor.getHelpFile()
isApplicable
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
- Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
getSites
public UrbanDeploySite[] getSites()
- The getter of the sites field.
- Returns:
- the value of the sites field.
getSiteByName
public UrbanDeploySite getSiteByName(String siteName)
- The getter of the site.
- Returns:
- the deploy site object.
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
-
- Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
- Parameters:
req -
- Returns:
- See Also:
Descriptor.configure(org.kohsuke.stapler.StaplerRequest)
newInstance
public hudson.tasks.Notifier newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
- Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
- Throws:
hudson.model.Descriptor.FormException
doTestConnection
public void doTestConnection(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter(value="ud.url")
String url,
@QueryParameter(value="ud.user")
String user,
@QueryParameter(value="ud.password")
String password)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doTestComponentExists
public void doTestComponentExists(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter(value="urbandeploypublisher.component")
String component,
@QueryParameter(value="urbandeploypublisher.siteName")
String siteName)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doTestApplicationExists
public void doTestApplicationExists(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter(value="urbandeploypublisher.deployApp")
String application,
@QueryParameter(value="urbandeploypublisher.siteName")
String siteName)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doTestEnvironmentExists
public void doTestEnvironmentExists(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter(value="urbandeploypublisher.deployEnv")
String environment,
@QueryParameter(value="urbandeploypublisher.deployApp")
String application,
@QueryParameter(value="urbandeploypublisher.siteName")
String siteName)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doTestApplicationProcessExists
public void doTestApplicationProcessExists(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter(value="urbandeploypublisher.deployProc")
String applicationProcess,
@QueryParameter(value="urbandeploypublisher.deployApp")
String application,
@QueryParameter(value="urbandeploypublisher.siteName")
String siteName)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
Copyright © 2004-2014. All Rights Reserved.