Package org.jvnet.hudson.plugins
Class SSHBuildWrapper.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.tasks.BuildWrapperDescriptor
org.jvnet.hudson.plugins.SSHBuildWrapper.DescriptorImpl
- Enclosing class:
- SSHBuildWrapper
-
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 TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) doCheckCredentialId
(String credentialId) doCheckHostname
(String hostname) doFillCredentialIdItems
(ItemGroup<?> context) doLoginCheck
(String hostname, String port, String credentialId, String serverAliveInterval, String timeout) Validates ssh connection - currently this is executed on master nodeprotected XmlFile
getSites()
boolean
isApplicable
(AbstractProject<?, ?> item) newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl() -
DescriptorImpl
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<BuildWrapper>
-
doFillSiteNameItems
-
getShortName
-
getHelpFile
- Overrides:
getHelpFile
in classDescriptor<BuildWrapper>
-
newInstance
public BuildWrapper newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) - Overrides:
newInstance
in classDescriptor<BuildWrapper>
-
getSites
-
doCheckHostname
-
doCheckCredentialId
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) - Overrides:
configure
in classDescriptor<BuildWrapper>
-
doFillCredentialIdItems
-
doLoginCheck
public FormValidation doLoginCheck(@QueryParameter("hostname") String hostname, @QueryParameter("port") String port, @QueryParameter("credentialId") String credentialId, @QueryParameter("serverAliveInterval") String serverAliveInterval, @QueryParameter("timeout") String timeout) Validates ssh connection - currently this is executed on master node -
isApplicable
- Specified by:
isApplicable
in classBuildWrapperDescriptor
-
getConfigFile
- Overrides:
getConfigFile
in classDescriptor<BuildWrapper>
-