com.ingenotech.hudson
Class LavaLampInstallation.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
com.ingenotech.hudson.LavaLampInstallation.DescriptorImpl
- All Implemented Interfaces:
- hudson.model.Saveable
- Enclosing class:
- LavaLampInstallation
@Extension
public static class LavaLampInstallation.DescriptorImpl
- extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| 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.tasks.BuildStepDescriptor |
filter |
| Methods inherited from class hudson.model.Descriptor |
calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LavaLampInstallation.DescriptorImpl
public LavaLampInstallation.DescriptorImpl()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getDefaultAddress
public java.lang.String getDefaultAddress()
getDefaultPort
public int getDefaultPort()
getInstallations
public LavaLampInstallation[] getInstallations()
setInstallations
public void setInstallations(LavaLampInstallation... installations)
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
isApplicable
public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
- Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
newInstance
public LavaLampInstallation newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
- Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
- Throws:
hudson.model.Descriptor.FormException
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
- Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
- Throws:
hudson.model.Descriptor.FormException
doCheckAddress
public hudson.util.FormValidation doCheckAddress(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
- Performs on-the-fly validation of the form field 'address'.
- Parameters:
value - This parameter receives the value that the user has typed.
- Returns:
- Indicates the outcome of the validation. This is returned to the browser.
- Throws:
java.io.IOException
javax.servlet.ServletException
doCheckPort
public hudson.util.FormValidation doCheckPort(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
doTestServerConnection
public hudson.util.FormValidation doTestServerConnection(@QueryParameter
java.lang.String address,
@QueryParameter
java.lang.String port)
Copyright © 2010. All Rights Reserved.