Class OctoInstallation.DescriptorImpl

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

    @Extension
    public static class OctoInstallation.DescriptorImpl
    extends hudson.tools.ToolDescriptor<OctoInstallation>
    • 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean configure​(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)  
      hudson.util.FormValidation doCheckHome​(java.io.File home)
      Validate that the home is: - Not empty - A file path
      java.lang.String getDisplayName()  
      OctoInstallation getInstallation​(java.lang.String name)  
      • Methods inherited from class hudson.tools.ToolDescriptor

        checkHomeDirectory, doCheckName, getCategory, getDefaultInstallers, getDefaultProperties, getInstallations, getPropertyDescriptors, setInstallations
      • Methods inherited from class hudson.model.Descriptor

        addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • getDisplayName

        public java.lang.String getDisplayName()
        Overrides:
        getDisplayName in class hudson.model.Descriptor<hudson.tools.ToolInstallation>
      • getInstallation

        @Nullable
        public OctoInstallation getInstallation​(java.lang.String name)
      • doCheckHome

        public hudson.util.FormValidation doCheckHome​(@QueryParameter
                                                      java.io.File home)
        Validate that the home is: - Not empty - A file path
        Overrides:
        doCheckHome in class hudson.tools.ToolDescriptor<OctoInstallation>
        Parameters:
        home - the path of the file
        Returns:
        Form validation to present on the Jenkins UI
      • configure

        public boolean configure​(org.kohsuke.stapler.StaplerRequest req,
                                 net.sf.json.JSONObject formData)
        Overrides:
        configure in class hudson.tools.ToolDescriptor<OctoInstallation>