jenkins.plugins.publish_over
Class BPPluginDescriptor<HOST_CONFIG extends BPHostConfiguration,COMMON_CONFIG>

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by jenkins.plugins.publish_over.BPPluginDescriptor<HOST_CONFIG,COMMON_CONFIG>
All Implemented Interfaces:
hudson.model.Saveable

public class BPPluginDescriptor<HOST_CONFIG extends BPHostConfiguration,COMMON_CONFIG>
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


Nested Class Summary
static interface BPPluginDescriptor.BPDescriptorMessages
           
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
BPPluginDescriptor(BPPluginDescriptor.BPDescriptorMessages messages, java.lang.Class pluginClass, java.lang.Class<HOST_CONFIG> hostConfigClass, java.lang.Class<COMMON_CONFIG> commonConfigClass)
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doTestConnection(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
           
 COMMON_CONFIG getCommonConfig()
           
 HOST_CONFIG getConfiguration(java.lang.String name)
           
 java.lang.String getDisplayName()
           
 java.util.List<HOST_CONFIG> getHostConfigurations()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
           
 hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 void setCommonConfig(COMMON_CONFIG commonConfig)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BPPluginDescriptor

public BPPluginDescriptor(BPPluginDescriptor.BPDescriptorMessages messages,
                          java.lang.Class pluginClass,
                          java.lang.Class<HOST_CONFIG> hostConfigClass,
                          java.lang.Class<COMMON_CONFIG> commonConfigClass)
Method Detail

getCommonConfig

public COMMON_CONFIG getCommonConfig()

setCommonConfig

public void setCommonConfig(COMMON_CONFIG commonConfig)

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>

isApplicable

public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

getHostConfigurations

public java.util.List<HOST_CONFIG> getHostConfigurations()

getConfiguration

public HOST_CONFIG getConfiguration(java.lang.String name)

newInstance

public hudson.tasks.Publisher 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

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest request,
                         net.sf.json.JSONObject formData)
Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>

doTestConnection

public hudson.util.FormValidation doTestConnection(org.kohsuke.stapler.StaplerRequest request,
                                                   org.kohsuke.stapler.StaplerResponse response)


Copyright © 2011. All Rights Reserved.