Package io.jenkins.plugins.yc
Class AbstractCloud.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<Cloud>
-
- io.jenkins.plugins.yc.AbstractCloud.DescriptorImpl
-
- Direct Known Subclasses:
YandexCloud.YandexDescriptor
- Enclosing class:
- AbstractCloud
public abstract static class AbstractCloud.DescriptorImpl extends Descriptor<Cloud>
-
-
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 DescriptorImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FormValidation
doCheckSshKeysCredentialsId(ItemGroup context, String value)
protected FormValidation
doTestConnection(ItemGroup context, String credentialsId)
Tests the connection settings.static ServiceAccount
getCredentials(String credentialsId)
-
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, getDisplayName, 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
-
getCredentials
@CheckForNull public static ServiceAccount getCredentials(@CheckForNull String credentialsId) throws Exception
- Throws:
Exception
-
doTestConnection
@POST protected FormValidation doTestConnection(@AncestorInPath ItemGroup context, String credentialsId)
Tests the connection settings.- Parameters:
credentialsId
- credentials id- Returns:
- the validation result
-
doCheckSshKeysCredentialsId
@POST protected FormValidation doCheckSshKeysCredentialsId(@AncestorInPath ItemGroup context, String value) throws IOException
- Throws:
IOException
-
-