com.ingenotech.hudson
Class LavaLampInstallation.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by 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 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
LavaLampInstallation.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doCheckAddress(java.lang.String value)
          Performs on-the-fly validation of the form field 'address'.
 hudson.util.FormValidation doCheckPort(java.lang.String value)
           
 hudson.util.FormValidation doCheckProtocol(java.lang.String value)
           
 hudson.util.FormValidation doTestServerConnection(java.lang.String address, java.lang.String port, java.lang.String protocol)
           
 java.lang.String getDefaultAddress()
           
 int getDefaultPort()
           
 java.lang.String getDisplayName()
           
 LavaLampInstallation[] getInstallations()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
           
 LavaLampInstallation newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 void setInstallations(LavaLampInstallation... installations)
           
 java.lang.String toString()
           
 
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
 

Constructor Detail

LavaLampInstallation.DescriptorImpl

public LavaLampInstallation.DescriptorImpl()
Method Detail

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

doCheckProtocol

public hudson.util.FormValidation doCheckProtocol(@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,
                                                         @QueryParameter
                                                         java.lang.String protocol)


Copyright © 2010. All Rights Reserved.