com.urbancode.ds.jenkins.plugins.serenarapublisher
Class UrbanDeployPublisherDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by com.urbancode.ds.jenkins.plugins.serenarapublisher.UrbanDeployPublisherDescriptor
All Implemented Interfaces:
hudson.model.Saveable

public class UrbanDeployPublisherDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
UrbanDeployPublisherDescriptor()
          The default constructor.
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
          
 void doTestConnection(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String url, String user, String password)
           
 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[] 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
 

Constructor Detail

UrbanDeployPublisherDescriptor

public UrbanDeployPublisherDescriptor()
The default constructor.

Method Detail

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.

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


Copyright © 2004-2014. All Rights Reserved.