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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(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 XmlFilegetSites()booleanisApplicable(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:
getDisplayNamein classDescriptor<BuildWrapper>
-
doFillSiteNameItems
-
getShortName
-
getHelpFile
- Overrides:
getHelpFilein classDescriptor<BuildWrapper>
-
newInstance
public BuildWrapper newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) - Overrides:
newInstancein classDescriptor<BuildWrapper>
-
getSites
-
doCheckHostname
-
doCheckCredentialId
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) - Overrides:
configurein 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:
isApplicablein classBuildWrapperDescriptor
-
getConfigFile
- Overrides:
getConfigFilein classDescriptor<BuildWrapper>
-