Class OsAuthDescriptor<DESCRIBABLE extends Describable<DESCRIBABLE>>
java.lang.Object
hudson.model.Descriptor<DESCRIBABLE>
jenkins.plugins.openstack.compute.OsAuthDescriptor<DESCRIBABLE>
- Direct Known Subclasses:
BootSource.BootSourceDescriptor,SlaveOptionsDescriptor
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public abstract class OsAuthDescriptor<DESCRIBABLE extends Describable<DESCRIBABLE>>
extends Descriptor<DESCRIBABLE>
Helper descriptor abstraction for classes with AJAX methods depending on OS auth parameters.
- Author:
- ogondza.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceMethod annotation to denote AJAX method accepts OS auth parameters.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 -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcalcFillSettings(String field, Map<String, Object> attributes) Add dependencies on credentials for methods annotated withOsAuthDescriptor.InjectOsAuthannotation.Get relativefillDependsOnoffsets to apply.static StringgetDefault(String d1, Object d2) protected static booleanhasValue(ListBoxModel m, String value) protected static booleanhaveAuthDetails(String endPointUrl, OpenstackCredential openstackCredential, String zone) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
OsAuthDescriptor
public OsAuthDescriptor() -
OsAuthDescriptor
-
-
Method Details
-
getAuthFieldsOffsets
Get relativefillDependsOnoffsets to apply. -
hasValue
-
calcFillSettings
Add dependencies on credentials for methods annotated withOsAuthDescriptor.InjectOsAuthannotation.- Overrides:
calcFillSettingsin classDescriptor<DESCRIBABLE extends Describable<DESCRIBABLE>>
-
haveAuthDetails
protected static boolean haveAuthDetails(String endPointUrl, OpenstackCredential openstackCredential, String zone) -
getDefault
-