Package flexagon.fd.plugin.jenkins.utils
Class Credential.CredentialDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<Credential>
-
- flexagon.fd.plugin.jenkins.utils.Credential.CredentialDescriptor
-
- Enclosing class:
- Credential
@Extension public static final class Credential.CredentialDescriptor extends Descriptor<Credential>
-
-
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 CredentialDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBoxModel
doFillCredentialsIdItems(Project context)
static Credential
fromStapler(String name, String username, Secret password, String credentialsId, boolean useGlobalCredential)
String
getDisplayName()
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, 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
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Credential>
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Project context)
-
fromStapler
public static Credential fromStapler(@QueryParameter String name, @QueryParameter String username, @QueryParameter Secret password, @QueryParameter String credentialsId, @QueryParameter boolean useGlobalCredential)
-
-