Class BootSource.BootSourceDescriptor

java.lang.Object
hudson.model.Descriptor<DESCRIBABLE>
jenkins.plugins.openstack.compute.OsAuthDescriptor<BootSource>
jenkins.plugins.openstack.compute.slaveopts.BootSource.BootSourceDescriptor
All Implemented Interfaces:
Saveable, OnMaster
Direct Known Subclasses:
BootSource.Image.Desc, BootSource.VolumeSnapshot.Desc
Enclosing class:
BootSource

public abstract static class BootSource.BootSourceDescriptor extends OsAuthDescriptor<BootSource>
  • Constructor Details

    • BootSourceDescriptor

      public BootSourceDescriptor()
  • Method Details

    • getAuthFieldsOffsets

      public List<String> getAuthFieldsOffsets()
      Description copied from class: OsAuthDescriptor
      Get relative fillDependsOn offsets to apply.
      Specified by:
      getAuthFieldsOffsets in class OsAuthDescriptor<BootSource>
    • makeListBoxModelOfAllNames

      protected ListBoxModel makeListBoxModelOfAllNames(String existingValue, String endPointUrl, boolean ignoreSsl, String credentialsId, String zone)
    • checkNameMatchesOnlyOnce

      protected FormValidation checkNameMatchesOnlyOnce(String value, String endPointUrl1, String endPointUrl2, boolean ignoreSsl1, boolean ignoreSsl2, String credentialsId1, String credentialsId2, String zone1, String zone2)
    • findMatchingIds

      @Nonnull public abstract List<String> findMatchingIds(Openstack openstack, String nameOrId)
      Lists all the IDs (of this kind of BootSource) matching the given nameOrId.
      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

      public abstract List<String> listAllNames(Openstack openstack)
      Lists all the names (of this kind of BootSource) that the user could choose between.
      Parameters:
      openstack - Means of communicating with the OpenStack service.
      Returns:
      A list of all the names the user could choose from.