Class BapSshPublisherPluginDescriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
jenkins.plugins.publish_over_ssh.descriptor.BapSshPublisherPluginDescriptor
- Direct Known Subclasses:
BapSshPublisherPlugin.Descriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addHostConfiguration
(BapSshHostConfiguration configuration) Add a Host Configuration to the list of configurations.boolean
boolean
configure
(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject formData) static jenkins.plugins.publish_over.BPBuildInfo
doTestConnection
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) jenkins.plugins.publish_over.view_defaults.BPInstanceConfig.Messages
jenkins.plugins.publish_over.view_defaults.manage_jenkins.Messages
getConfiguration
(String name) boolean
isApplicable
(Class<? extends AbstractProject> aClass) boolean
void
Removes the given named Host Configuration from the list of configurations.void
setCommonConfig
(BapSshCommonConfiguration commonConfig) static FormValidation
validateConnection
(BapSshHostConfiguration hostConfig, jenkins.plugins.publish_over.BPBuildInfo buildInfo) Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
BapSshPublisherPluginDescriptor
public BapSshPublisherPluginDescriptor()
-
-
Method Details
-
getCommonConfig
-
setCommonConfig
-
getDefaults
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getHostConfigurations
-
getConfiguration
-
addHostConfiguration
Add a Host Configuration to the list of configurations.- Parameters:
configuration
- Host Configuration to add. The common configuration will be automatically set.
-
removeHostConfiguration
Removes the given named Host Configuration from the list of configurations.- Parameters:
name
- The Name of the Host Configuration to remove.
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject formData) - Overrides:
configure
in classDescriptor<Publisher>
-
canSetMasterNodeName
public boolean canSetMasterNodeName() -
getDefaultMasterNodeName
-
isEnableOverrideDefaults
public boolean isEnableOverrideDefaults() -
getPublisherDescriptor
-
getHostConfigurationDescriptor
-
getPluginDefaultsDescriptor
-
getCommonFieldNames
public jenkins.plugins.publish_over.view_defaults.BPInstanceConfig.Messages getCommonFieldNames() -
getCommonManageMessages
public jenkins.plugins.publish_over.view_defaults.manage_jenkins.Messages getCommonManageMessages() -
doTestConnection
public FormValidation doTestConnection(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) -
validateConnection
public static FormValidation validateConnection(BapSshHostConfiguration hostConfig, jenkins.plugins.publish_over.BPBuildInfo buildInfo) -
createDummyBuildInfo
public static jenkins.plugins.publish_over.BPBuildInfo createDummyBuildInfo() -
readResolve
-