Class BootSource.Image.Desc
java.lang.Object
hudson.model.Descriptor<DESCRIBABLE>
jenkins.plugins.openstack.compute.OsAuthDescriptor<BootSource>
jenkins.plugins.openstack.compute.slaveopts.BootSource.BootSourceDescriptor
jenkins.plugins.openstack.compute.slaveopts.BootSource.Image.Desc
- Direct Known Subclasses:
BootSource.VolumeFromImage.VFIDesc
- Enclosing class:
- BootSource.Image
@Extension
@Symbol("image")
public static class BootSource.Image.Desc
extends BootSource.BootSourceDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.plugins.openstack.compute.OsAuthDescriptor
OsAuthDescriptor.InjectOsAuth
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 TypeMethodDescriptiondoCheckName
(String value, String endPointUrlCloud, String endPointUrlTemplate, boolean ignoreSslCloud, boolean ignoreSslTemplate, String credentialsIdCloud, String credentialsIdTemplate, String zoneCloud, String zoneTemplate) doFillNameItems
(String name, String endPointUrl, boolean ignoreSsl, String credentialsId, String zone) findMatchingIds
(Openstack openstack, String nameOrId) Lists all the IDs (of this kind ofBootSource
) matching the given nameOrId.listAllNames
(Openstack openstack) Lists all the names (of this kind ofBootSource
) that the user could choose between.Methods inherited from class jenkins.plugins.openstack.compute.slaveopts.BootSource.BootSourceDescriptor
checkNameMatchesOnlyOnce, getAuthFieldsOffsets, makeListBoxModelOfAllNames
Methods inherited from class jenkins.plugins.openstack.compute.OsAuthDescriptor
calcFillSettings, getDefault, hasValue, haveAuthDetails
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, 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
-
Constructor Details
-
Desc
public Desc()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<BootSource>
-
findMatchingIds
Description copied from class:BootSource.BootSourceDescriptor
Lists all the IDs (of this kind ofBootSource
) matching the given nameOrId.- Specified by:
findMatchingIds
in classBootSource.BootSourceDescriptor
- Parameters:
openstack
- Means of communicating with the OpenStack service.nameOrId
- The user's selected name (or ID).- Returns:
- A list of all the IDs matching the specified name.
-
listAllNames
Description copied from class:BootSource.BootSourceDescriptor
Lists all the names (of this kind ofBootSource
) that the user could choose between.- Specified by:
listAllNames
in classBootSource.BootSourceDescriptor
- Parameters:
openstack
- Means of communicating with the OpenStack service.- Returns:
- A list of all the names the user could choose from.
-
doFillNameItems
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public ListBoxModel doFillNameItems(@QueryParameter String name, @QueryParameter String endPointUrl, @QueryParameter boolean ignoreSsl, @QueryParameter String credentialsId, @QueryParameter String zone) -
doCheckName
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckName(@QueryParameter String value, @RelativePath("../..") @QueryParameter("endPointUrl") String endPointUrlCloud, @RelativePath("../../..") @QueryParameter("endPointUrl") String endPointUrlTemplate, @RelativePath("../..") @QueryParameter("ignoreSsl") boolean ignoreSslCloud, @RelativePath("../../..") @QueryParameter("ignoreSsl") boolean ignoreSslTemplate, @RelativePath("../..") @QueryParameter("credentialsId") String credentialsIdCloud, @RelativePath("../../..") @QueryParameter("credentialsId") String credentialsIdTemplate, @RelativePath("../..") @QueryParameter("zone") String zoneCloud, @RelativePath("../../..") @QueryParameter("zone") String zoneTemplate)
-