Class TokenAuthenticationEntry.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<SelectEntry>
-
- com.uipath.uipathpackage.entries.authentication.TokenAuthenticationEntry.DescriptorImpl
-
- Enclosing class:
- TokenAuthenticationEntry
@Symbol("Token") @Extension public static class TokenAuthenticationEntry.DescriptorImpl extends Descriptor<SelectEntry>
-
-
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 DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCredentialsId(Item item, java.lang.String value)
Validates Credentials if existsListBoxModel
doFillCredentialsIdItems(Item item)
Returns the list of StringCredentials to be filled in choice If item is null or doesn't have configure permission it will return empty listjava.lang.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
-
-
-
-
Method Detail
-
getDisplayName
@Nonnull public java.lang.String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<SelectEntry>
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item)
Returns the list of StringCredentials to be filled in choice If item is null or doesn't have configure permission it will return empty list- Parameters:
item
- Basic configuration unit in Hudson- Returns:
- ListBoxModel list of StringCredentials
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@AncestorInPath Item item, @QueryParameter java.lang.String value)
Validates Credentials if exists- Parameters:
item
- Basic configuration unit in Hudsonvalue
- Any conditional parameter(here id of the credential selected)- Returns:
- FormValidation
-
-