Class PublishWebhookStep.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • getFunctionName

        public String getFunctionName()
        Specified by:
        getFunctionName in class org.jenkinsci.plugins.workflow.steps.StepDescriptor
      • getRequiredContext

        public Set<Class<?>> getRequiredContext()
        Specified by:
        getRequiredContext in class org.jenkinsci.plugins.workflow.steps.StepDescriptor
      • doFillStatusItems

        public ListBoxModel doFillStatusItems()
      • doCheckWebhookUrl

        public FormValidation doCheckWebhookUrl​(@QueryParameter
                                                String webhookUrl)
        Validates that the user provided a server URL.
        Parameters:
        webhookUrl - the URL provided by the user
        Returns:
        whether or not the validation succeeded
      • doCheckStatus

        public FormValidation doCheckStatus​(@QueryParameter
                                            String status)
        Validates that the user provided status.
        Parameters:
        status - the status provided by the user
        Returns:
        whether or not the validation succeeded
      • doCheckCredentialsId

        public FormValidation doCheckCredentialsId​(@QueryParameter
                                                   String credentialsId,
                                                   @AncestorInPath
                                                   Item owner)
      • doFillCredentialsIdItems

        public ListBoxModel doFillCredentialsIdItems​(@AncestorInPath
                                                     Item owner)