Class NexusChoiceListProvider.NexusDescriptorImpl

    • Constructor Detail

      • NexusDescriptorImpl

        public NexusDescriptorImpl()
    • Method Detail

      • getDisplayName

        public String getDisplayName()
        the display name shown in the dropdown to select a choice provider.
        Overrides:
        getDisplayName in class Descriptor<jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider>
        Returns:
        display name
        See Also:
        Descriptor.getDisplayName()
      • doFillCredentialsIdItems

        public ListBoxModel doFillCredentialsIdItems​(@AncestorInPath
                                                     Item pItem,
                                                     @QueryParameter
                                                     String credentialsId)
      • doTest

        public 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)
      • configure

        public boolean configure​(org.kohsuke.stapler.StaplerRequest staplerRequest,
                                 net.sf.json.JSONObject json)
                          throws Descriptor.FormException
        Saves the Global-Option Settings
        Overrides:
        configure in class Descriptor<jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider>
        Throws:
        Descriptor.FormException
      • getUseRestfulAPI

        public boolean getUseRestfulAPI()
        Returns the value for checkbox in the "Manage Jenkins" section.
        Returns:
        TRUE if the RESTful API should be used.