com.michelin.cio.hudson.plugins.wasbuilder
Class WASInstallation.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<hudson.tools.ToolInstallation>
hudson.tools.ToolDescriptor<WASInstallation>
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 classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
Fields inherited from class hudson.model.Descriptor |
clazz |
Fields inherited from interface hudson.model.Saveable |
NOOP |
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 |
WASInstallation.DescriptorImpl
public WASInstallation.DescriptorImpl()
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.