jenkins.plugins.shiningpanda.tools
Class PythonInstallation.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.tools.ToolInstallation>
      extended by hudson.tools.ToolDescriptor<PythonInstallation>
          extended by jenkins.plugins.shiningpanda.tools.PythonInstallation.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
PythonInstallation

@Extension
public static class PythonInstallation.DescriptorImpl
extends hudson.tools.ToolDescriptor<PythonInstallation>

Installation descriptor


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
PythonInstallation.DescriptorImpl()
          Default constructor
 
Method Summary
 hudson.util.FormValidation doCheckHome(String value)
          Checks if the PYTHONHOME is valid
 hudson.util.FormValidation doCheckName(String value)
          Check that the PYTHON name is specified
 String getDisplayName()
           
 String getHelpFile()
           
 PythonInstallation[] getInstallations()
           
 void setInstallations(PythonInstallation... installations)
           
 
Methods inherited from class hudson.tools.ToolDescriptor
configure, getDefaultInstallers, getDefaultProperties, getPropertyDescriptors
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, 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

PythonInstallation.DescriptorImpl

public PythonInstallation.DescriptorImpl()
Default constructor

Method Detail

getHelpFile

public String getHelpFile()
Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.tools.ToolInstallation>

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tools.ToolInstallation>

getInstallations

public PythonInstallation[] getInstallations()
Overrides:
getInstallations in class hudson.tools.ToolDescriptor<PythonInstallation>

setInstallations

public void setInstallations(PythonInstallation... installations)
Overrides:
setInstallations in class hudson.tools.ToolDescriptor<PythonInstallation>

doCheckHome

public hudson.util.FormValidation doCheckHome(@QueryParameter
                                              String value)
Checks if the PYTHONHOME is valid

Parameters:
value - The value to check

doCheckName

public hudson.util.FormValidation doCheckName(@QueryParameter
                                              String value)
Check that the PYTHON name is specified

Parameters:
value - The value to check


Copyright © 2004-2012. All Rights Reserved.