Class NexusChoiceListProvider.NexusDescriptorImpl
- java.lang.Object
- 
- hudson.model.Descriptor<jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider>
- 
- org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractMavenArtifactDescriptorImpl
- 
- org.jenkinsci.plugins.maven_artifact_choicelistprovider.nexus.NexusChoiceListProvider.NexusDescriptorImpl
 
 
 
- 
- Enclosing class:
- NexusChoiceListProvider
 
 @Extension public static class NexusChoiceListProvider.NexusDescriptorImpl extends AbstractMavenArtifactDescriptorImpl 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class hudson.model.DescriptorDescriptor.FormException, Descriptor.PropertyType, Descriptor.Self
 
- 
 - 
Field Summary- 
Fields inherited from class hudson.model.Descriptorclazz
 
- 
 - 
Constructor SummaryConstructors Constructor Description NexusDescriptorImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconfigure(org.kohsuke.stapler.StaplerRequest staplerRequest, net.sf.json.JSONObject json)Saves the Global-Option SettingsFormValidationdoCheckUrl(String url)ListBoxModeldoFillCredentialsIdItems(Item pItem, String credentialsId)FormValidationdoTest(Item pItem, String url, String credentialsId, String repositoryId, String groupId, String artifactId, String packaging, String classifier, boolean inverseFilter, String filterExpression, boolean reverseOrder)StringgetDisplayName()the display name shown in the dropdown to select a choice provider.booleangetUseRestfulAPI()Returns the value for checkbox in the "Manage Jenkins" section.protected Map<String,String>wrapTestConnection(IVersionReader pService, String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, String pClassifier, boolean pInverseFilter, String pFilterExpression, boolean pReverseOrder)Own implementations of this DescriptorImpl might do this normally as a static inner class.- 
Methods inherited from class org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractMavenArtifactDescriptorImpldoCheckArtifactId, doCheckClassifier, doCheckFilterExpression, doCheckGroupId, doCheckPackaging, performTest
 - 
Methods inherited from class hudson.model.DescriptoraddHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, 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- 
getDisplayNamepublic String getDisplayName() the display name shown in the dropdown to select a choice provider.- Overrides:
- getDisplayNamein class- Descriptor<jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider>
- Returns:
- display name
- See Also:
- Descriptor.getDisplayName()
 
 - 
doFillCredentialsIdItemspublic ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item pItem, @QueryParameter String credentialsId) 
 - 
doTestpublic FormValidation doTest(@AncestorInPath Item pItem, @QueryParameter String url, @QueryParameter String credentialsId, @QueryParameter String repositoryId, @QueryParameter String groupId, @QueryParameter String artifactId, @QueryParameter String packaging, @QueryParameter String classifier, @QueryParameter boolean inverseFilter, @QueryParameter String filterExpression, @QueryParameter boolean reverseOrder) 
 - 
wrapTestConnectionprotected Map<String,String> wrapTestConnection(IVersionReader pService, String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, String pClassifier, boolean pInverseFilter, String pFilterExpression, boolean pReverseOrder) Description copied from class:AbstractMavenArtifactDescriptorImplOwn implementations of this DescriptorImpl might do this normally as a static inner class. The surrounding class then has to extendAbstractMavenArtifactChoiceListProviderand thus this wrapper method can forward to the implementation of readURL.- Specified by:
- wrapTestConnectionin class- AbstractMavenArtifactDescriptorImpl
- Parameters:
- pService- TBD
- pRepositoryId- TBD
- pGroupId- TBD
- pArtifactId- TBD
- pPackaging- TBD
- pClassifier- TBD
- pInverseFilter- TBD
- pFilterExpression- TBD
- pReverseOrder- TBD
- Returns:
- the list of found items.
 
 - 
doCheckUrlpublic FormValidation doCheckUrl(@QueryParameter String url) 
 - 
configurepublic boolean configure(org.kohsuke.stapler.StaplerRequest staplerRequest, net.sf.json.JSONObject json) throws Descriptor.FormExceptionSaves the Global-Option Settings- Overrides:
- configurein class- Descriptor<jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider>
- Throws:
- Descriptor.FormException
 
 - 
getUseRestfulAPIpublic boolean getUseRestfulAPI() Returns the value for checkbox in the "Manage Jenkins" section.- Returns:
- TRUE if the RESTful API should be used.
 
 
- 
 
-