Class BapFtpPublisherPluginDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- jenkins.plugins.publish_over_ftp.descriptor.BapFtpPublisherPluginDescriptor
-
- Direct Known Subclasses:
BapFtpPublisherPlugin.Descriptor
public class BapFtpPublisherPluginDescriptor extends BuildStepDescriptor<Publisher>
-
-
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
Constructors Constructor Description BapFtpPublisherPluginDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canSetMasterNodeName()
boolean
configure(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject formData)
static jenkins.plugins.publish_over.BPBuildInfo
createDummyBuildInfo()
FormValidation
doTestConnection(String name, String hostname, String username, String encryptedPassword, String remoteRootDir, int port, int timeout, boolean useActiveData, String controlEncoding, boolean disableMakeNestedDirs, boolean disableRemoteVerification, boolean useFtpOverTls, boolean useImplicitTls, String trustedCertificate)
jenkins.plugins.publish_over.view_defaults.BPInstanceConfig.Messages
getCommonFieldNames()
jenkins.plugins.publish_over.view_defaults.manage_jenkins.Messages
getCommonManageMessages()
BapFtpHostConfiguration
getConfiguration(String name)
String
getDefaultMasterNodeName()
FtpDefaults
getDefaults()
String
getDisplayName()
BapFtpHostConfigurationDescriptor
getHostConfigurationDescriptor()
List<BapFtpHostConfiguration>
getHostConfigurations()
FtpPluginDefaults.FtpPluginDefaultsDescriptor
getPluginDefaultsDescriptor()
BapFtpPublisherDescriptor
getPublisherDescriptor()
boolean
isApplicable(Class<? extends AbstractProject> aClass)
boolean
isEnableOverrideDefaults()
Object
readResolve()
static FormValidation
validateConnection(BapFtpHostConfiguration hostConfig, jenkins.plugins.publish_over.BPBuildInfo buildInfo)
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, 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
-
-
-
-
Method Detail
-
getDefaults
public FtpDefaults getDefaults()
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getHostConfigurations
public List<BapFtpHostConfiguration> getHostConfigurations()
-
getConfiguration
public BapFtpHostConfiguration getConfiguration(String name)
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject formData)
- Overrides:
configure
in classDescriptor<Publisher>
-
canSetMasterNodeName
public boolean canSetMasterNodeName()
-
getDefaultMasterNodeName
public String getDefaultMasterNodeName()
-
isEnableOverrideDefaults
public boolean isEnableOverrideDefaults()
-
getPublisherDescriptor
public BapFtpPublisherDescriptor getPublisherDescriptor()
-
getHostConfigurationDescriptor
public BapFtpHostConfigurationDescriptor getHostConfigurationDescriptor()
-
getPluginDefaultsDescriptor
public FtpPluginDefaults.FtpPluginDefaultsDescriptor 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(String name, String hostname, String username, String encryptedPassword, String remoteRootDir, int port, int timeout, boolean useActiveData, String controlEncoding, boolean disableMakeNestedDirs, boolean disableRemoteVerification, boolean useFtpOverTls, boolean useImplicitTls, String trustedCertificate)
-
validateConnection
public static FormValidation validateConnection(BapFtpHostConfiguration hostConfig, jenkins.plugins.publish_over.BPBuildInfo buildInfo)
-
createDummyBuildInfo
public static jenkins.plugins.publish_over.BPBuildInfo createDummyBuildInfo()
-
readResolve
public Object readResolve()
-
-