com.michelin.cio.hudson.plugins.wasbuilder
Class WASInstallation.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.tools.ToolInstallation>
      extended by hudson.tools.ToolDescriptor<WASInstallation>
          extended by com.michelin.cio.hudson.plugins.wasbuilder.WASInstallation.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
WASInstallation

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


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
WASInstallation.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doCheckConntype(String value)
           
 hudson.util.FormValidation doCheckHome(File value)
          Checks if the installation folder is valid.
 hudson.util.FormValidation doCheckHost(String value)
           
 hudson.util.FormValidation doCheckName(String value)
           
 hudson.util.FormValidation doCheckPassword(String value)
           
 hudson.util.FormValidation doCheckPort(String value)
           
 hudson.util.FormValidation doCheckUser(String value)
           
 String[] getConntypes()
          Returns the possible connection types to WAS.
 boolean getCreateLocks()
           
 String getDisplayName()
           
 WASServer[] getServers()
           
 void setCreateLocks(boolean createLocks)
           
 
Methods inherited from class hudson.tools.ToolDescriptor
getDefaultInstallers, getDefaultProperties, getInstallations, getPropertyDescriptors, setInstallations
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getT, 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

WASInstallation.DescriptorImpl

public WASInstallation.DescriptorImpl()
Method Detail

getConntypes

public String[] getConntypes()
Returns the possible connection types to WAS.

This method needs to be placed here so that the list can be accessible from WASInstallation's global.jelly file: global.jelly is not able to access such a method if it is placed, even statically, into WASServer.


getCreateLocks

public boolean getCreateLocks()

setCreateLocks

public void setCreateLocks(boolean createLocks)

getDisplayName

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

getServers

public WASServer[] getServers()

configure

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

doCheckHome

public hudson.util.FormValidation doCheckHome(@QueryParameter
                                              File value)
Checks if the installation folder is valid.


doCheckName

public hudson.util.FormValidation doCheckName(@QueryParameter
                                              String value)

doCheckConntype

public hudson.util.FormValidation doCheckConntype(@QueryParameter
                                                  String value)

doCheckHost

public hudson.util.FormValidation doCheckHost(@QueryParameter
                                              String value)
                                       throws IOException,
                                              javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doCheckPort

public hudson.util.FormValidation doCheckPort(@QueryParameter
                                              String value)

doCheckUser

public hudson.util.FormValidation doCheckUser(@QueryParameter
                                              String value)

doCheckPassword

public hudson.util.FormValidation doCheckPassword(@QueryParameter
                                                  String value)


Copyright © 2004-2011. All Rights Reserved.