Package io.jenkins.plugins.restlistparam
Class RestListParameterDefinition.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ParameterDefinition>
hudson.model.ParameterDefinition.ParameterDescriptor
io.jenkins.plugins.restlistparam.RestListParameterDefinition.DescriptorImpl
- Enclosing class:
- RestListParameterDefinition
@Symbol({"RESTList","RestList","RESTListParam"})
@Extension
public static class RestListParameterDefinition.DescriptorImpl
extends ParameterDefinition.ParameterDescriptor
-
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 TypeMethodDescriptiondoCheckCacheTime
(Item context, Integer cacheTime) doCheckCredentialId
(Item context, String value) doCheckRestEndpoint
(Item context, String value, String credentialId) doCheckValueExpression
(Item context, String value, MimeType mimeType) doFillCredentialIdItems
(Item context, String credentialId) doTestConfiguration
(Item context, String restEndpoint, String credentialId, MimeType mimeType, String valueExpression, String displayExpression, String filter, ValueOrder valueOrder) Methods inherited from class hudson.model.ParameterDefinition.ParameterDescriptor
getValuePage
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classParameterDefinition.ParameterDescriptor
-
getDefaultCacheTime
-
doCheckRestEndpoint
@POST public FormValidation doCheckRestEndpoint(@AncestorInPath Item context, @QueryParameter String value, @QueryParameter String credentialId) -
doCheckValueExpression
@POST public FormValidation doCheckValueExpression(@AncestorInPath Item context, @QueryParameter String value, @QueryParameter MimeType mimeType) -
doFillCredentialIdItems
@POST public ListBoxModel doFillCredentialIdItems(@AncestorInPath Item context, @QueryParameter String credentialId) -
doCheckCredentialId
@POST public FormValidation doCheckCredentialId(@AncestorInPath Item context, @QueryParameter String value) -
doCheckCacheTime
@POST public FormValidation doCheckCacheTime(@AncestorInPath Item context, @QueryParameter Integer cacheTime) -
doTestConfiguration
@POST public FormValidation doTestConfiguration(@AncestorInPath Item context, @QueryParameter String restEndpoint, @QueryParameter String credentialId, @QueryParameter MimeType mimeType, @QueryParameter String valueExpression, @QueryParameter String displayExpression, @QueryParameter String filter, @QueryParameter ValueOrder valueOrder)
-