Class GitLabPersonalAccessTokenCreator
- java.lang.Object
-
- hudson.model.Descriptor<GitLabPersonalAccessTokenCreator>
-
- io.jenkins.plugins.gitlabserverconfig.servers.helpers.GitLabPersonalAccessTokenCreator
-
- All Implemented Interfaces:
Describable<GitLabPersonalAccessTokenCreator>
,Saveable
,OnMaster
@Extension public class GitLabPersonalAccessTokenCreator extends Descriptor<GitLabPersonalAccessTokenCreator> implements Describable<GitLabPersonalAccessTokenCreator>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Constructor Summary
Constructors Constructor Description GitLabPersonalAccessTokenCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCreateTokenByCredentials(String serverUrl, String credentialsId)
FormValidation
doCreateTokenByPassword(String serverUrl, String login, String password)
ListBoxModel
doFillCredentialsIdItems(String serverUrl, String credentialsId)
Descriptor<GitLabPersonalAccessTokenCreator>
getDescriptor()
String
getDisplayName()
-
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, 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
-
-
-
-
Field Detail
-
LOGGER
public static final Logger LOGGER
-
-
Method Detail
-
getDescriptor
public Descriptor<GitLabPersonalAccessTokenCreator> getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<GitLabPersonalAccessTokenCreator>
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<GitLabPersonalAccessTokenCreator>
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@QueryParameter String serverUrl, @QueryParameter String credentialsId)
-
doCreateTokenByCredentials
public FormValidation doCreateTokenByCredentials(@QueryParameter String serverUrl, @QueryParameter String credentialsId)
-
doCreateTokenByPassword
public FormValidation doCreateTokenByPassword(@QueryParameter String serverUrl, @QueryParameter String login, @QueryParameter String password)
-
-