Class ElectricFlowUploadArtifactPublisher.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
org.jenkinsci.plugins.electricflow.ElectricFlowUploadArtifactPublisher.DescriptorImpl
All Implemented Interfaces:
Saveable, OnMaster
Enclosing class:
ElectricFlowUploadArtifactPublisher

@Symbol("cloudBeesFlowPublishArtifact") @Extension public static final class ElectricFlowUploadArtifactPublisher.DescriptorImpl extends BuildStepDescriptor<Publisher>
The class is marked as public so that it can be accessed from views.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
      In order to load the persisted global configuration, you have to call load() in the constructor.
  • Method Details

    • doCheckArtifactName

      public FormValidation doCheckArtifactName(@QueryParameter String value, @AncestorInPath Item item)
    • doCheckArtifactVersion

      public FormValidation doCheckArtifactVersion(@QueryParameter String value, @AncestorInPath Item item)
    • doCheckConfiguration

      public FormValidation doCheckConfiguration(@QueryParameter String value, @AncestorInPath Item item)
    • doCheckFilePath

      public FormValidation doCheckFilePath(@QueryParameter String value, @AncestorInPath Item item)
    • doCheckRepositoryName

      public FormValidation doCheckRepositoryName(@QueryParameter String value, @AncestorInPath Item item)
    • doFillConfigurationItems

      public ListBoxModel doFillConfigurationItems(@AncestorInPath Item item)
    • doFillCredentialIdItems

      public ListBoxModel doFillCredentialIdItems(@AncestorInPath Item item)
    • doFillRepositoryNameItems

      public ListBoxModel doFillRepositoryNameItems(@QueryParameter String configuration, @QueryParameter boolean overrideCredential, @QueryParameter @RelativePath("overrideCredential") String credentialId, @AncestorInPath Item item)
    • getConfigurationByName

      public Configuration getConfigurationByName(String name)
    • getDisplayName

      public String getDisplayName()
      This human readable name is used in the configuration screen.
      Overrides:
      getDisplayName in class Descriptor<Publisher>
      Returns:
      this human readable name is used in the configuration screen.
    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> aClass)
      Specified by:
      isApplicable in class BuildStepDescriptor<Publisher>