Class WattspeedBuilder.DescriptorImpl

  • All Implemented Interfaces:
    hudson.model.Saveable, jenkins.util.io.OnMaster
    Enclosing class:
    WattspeedBuilder

    @Symbol("wattspeed")
    @Extension
    public static final class WattspeedBuilder.DescriptorImpl
    extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class hudson.model.Descriptor

        hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
    • Field Summary

      • Fields inherited from class hudson.model.Descriptor

        clazz
      • Fields inherited from interface hudson.model.Saveable

        NOOP
    • Constructor Summary

      Constructors 
      Constructor Description
      DescriptorImpl()  
    • Method Summary

      Modifier and Type Method Description
      hudson.util.FormValidation doCheckToken​(String value)  
      hudson.util.ListBoxModel doFillProjectsItems​(String token)  
      String getDisplayName()  
      static String getPostResponse​(String apiURL, String token, boolean isGetRequest)  
      void getProjects()  
      int getProjectsArray​(String token)  
      boolean isApplicable​(Class<? extends hudson.model.AbstractProject> aClass)  
      • Methods inherited from class hudson.tasks.BuildStepDescriptor

        filter
      • Methods inherited from class hudson.model.Descriptor

        addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • isApplicable

        public boolean isApplicable​(Class<? extends hudson.model.AbstractProject> aClass)
        Specified by:
        isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
      • getDisplayName

        public String getDisplayName()
        Overrides:
        getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>
      • doCheckToken

        public hudson.util.FormValidation doCheckToken​(@QueryParameter
                                                       String value)
      • doFillProjectsItems

        public hudson.util.ListBoxModel doFillProjectsItems​(@QueryParameter
                                                            String token)
      • getProjectsArray

        @JavaScriptMethod
        public int getProjectsArray​(String token)