Package io.jenkins.plugins.yc
Class YandexCloud.YandexDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<Cloud>
-
- io.jenkins.plugins.yc.AbstractCloud.DescriptorImpl
-
- io.jenkins.plugins.yc.YandexCloud.YandexDescriptor
-
- Enclosing class:
- YandexCloud
@Extension public static final class YandexCloud.YandexDescriptor extends AbstractCloud.DescriptorImpl
-
-
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 YandexDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCredentialsId(ItemGroup context, String value)
FormValidation
doCheckSshKeysCredentialsId(ItemGroup context, String value)
ListBoxModel
doFillCredentialsIdItems(ItemGroup context)
ListBoxModel
doFillSshKeysCredentialsIdItems(ItemGroup context)
FormValidation
doTestConnection(ItemGroup context, String credentialsId)
Tests the connection settings.String
getDisplayName()
-
Methods inherited from class io.jenkins.plugins.yc.AbstractCloud.DescriptorImpl
getCredentials
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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
-
getDisplayName
@Nonnull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Cloud>
-
doFillSshKeysCredentialsIdItems
public ListBoxModel doFillSshKeysCredentialsIdItems(@AncestorInPath ItemGroup context)
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath ItemGroup context)
-
doTestConnection
public FormValidation doTestConnection(@AncestorInPath ItemGroup context, @QueryParameter String credentialsId)
Description copied from class:AbstractCloud.DescriptorImpl
Tests the connection settings.- Overrides:
doTestConnection
in classAbstractCloud.DescriptorImpl
credentialsId
- credentials id- Returns:
- the validation result
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@AncestorInPath ItemGroup context, @QueryParameter String value) throws IOException
- Throws:
IOException
-
doCheckSshKeysCredentialsId
public FormValidation doCheckSshKeysCredentialsId(@AncestorInPath ItemGroup context, @QueryParameter String value) throws IOException
- Overrides:
doCheckSshKeysCredentialsId
in classAbstractCloud.DescriptorImpl
- Throws:
IOException
-
-