Class GitLabPersonalAccessTokenCreator
java.lang.Object
hudson.model.Descriptor<GitLabPersonalAccessTokenCreator>
io.jenkins.plugins.gitlabserverconfig.servers.helpers.GitLabPersonalAccessTokenCreator
- All Implemented Interfaces:
Describable<GitLabPersonalAccessTokenCreator>
,Saveable
,Loadable
,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
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCreateTokenByCredentials
(String serverUrl, String credentialsId) doCreateTokenByPassword
(String serverUrl, String login, String password) doFillCredentialsIdItems
(String serverUrl, String credentialsId) 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 Details
-
LOGGER
-
-
Constructor Details
-
GitLabPersonalAccessTokenCreator
public GitLabPersonalAccessTokenCreator()
-
-
Method Details
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<GitLabPersonalAccessTokenCreator>
-
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)
-