Class NodeJSBuildWrapper.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.tasks.BuildWrapperDescriptor
jenkins.plugins.nodejs.NodeJSBuildWrapper.DescriptorImpl
All Implemented Interfaces:
Saveable, OnMaster
Enclosing class:
NodeJSBuildWrapper

@Symbol("nodejs") @Extension public static final class NodeJSBuildWrapper.DescriptorImpl extends BuildWrapperDescriptor
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • isApplicable

      public boolean isApplicable(AbstractProject<?,?> item)
      Specified by:
      isApplicable in class BuildWrapperDescriptor
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<BuildWrapper>
    • getInstallations

      public NodeJSInstallation[] getInstallations()
    • doFillConfigIdItems

      public ListBoxModel doFillConfigIdItems(@AncestorInPath ItemGroup<?> context)
      Gather all defined npmrc config files.
      Parameters:
      context - where lookup
      Returns:
      a collection of user npmrc files.
    • doCheckConfigId

      public FormValidation doCheckConfigId(@Nullable @AncestorInPath ItemGroup<?> context, @CheckForNull @QueryParameter String configId)
      Verify that the given configId exists in the given context.
      Parameters:
      context - where lookup
      configId - the identifier of an npmrc file
      Returns:
      an validation form for the given npmrc file identifier.