hudson.plugins.perforce
Class PerforceToolInstallation.DescriptorImpl

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

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


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
PerforceToolInstallation.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
           
 hudson.util.FormValidation doCheckHome(File value)
          Checks if the path to p4 executable exists.
 String getDisplayName()
           
 PerforceToolInstallation[] getInstallations()
           
 void setInstallations(PerforceToolInstallation... installations)
           
 
Methods inherited from class hudson.tools.ToolDescriptor
getDefaultInstallers, getDefaultProperties, getPropertyDescriptors
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerforceToolInstallation.DescriptorImpl

public PerforceToolInstallation.DescriptorImpl()
Method Detail

getDisplayName

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

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject json)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.tools.ToolDescriptor<PerforceToolInstallation>
Throws:
hudson.model.Descriptor.FormException

getInstallations

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

setInstallations

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

doCheckHome

public hudson.util.FormValidation doCheckHome(@QueryParameter
                                              File value)
                                       throws IOException,
                                              javax.servlet.ServletException
Checks if the path to p4 executable exists.

Throws:
IOException
javax.servlet.ServletException


Copyright © 2004-2013 Hudson. All Rights Reserved.