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 FormValidationdoCheckCredentialsId(ItemGroup context, String value)FormValidationdoCheckSshKeysCredentialsId(ItemGroup context, String value)ListBoxModeldoFillCredentialsIdItems(ItemGroup context)ListBoxModeldoFillSshKeysCredentialsIdItems(ItemGroup context)FormValidationdoTestConnection(ItemGroup context, String credentialsId)Tests the connection settings.StringgetDisplayName()-
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:
getDisplayNamein 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.DescriptorImplTests the connection settings.- Overrides:
doTestConnectionin classAbstractCloud.DescriptorImplcredentialsId- 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:
doCheckSshKeysCredentialsIdin classAbstractCloud.DescriptorImpl- Throws:
IOException
-
-