hudson.plugins.dimensionsscm
Class DimensionsBuilder.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.tasks.Builder>
      extended by hudson.plugins.dimensionsscm.DimensionsBuilder.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
DimensionsBuilder

public static final class DimensionsBuilder.DescriptorImpl
extends hudson.model.Descriptor<hudson.tasks.Builder>

Descriptor for DimensionsBuilder. Used as a singleton. The class is marked as public so that it can be accessed from views.


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
DimensionsBuilder.DescriptorImpl()
          To persist global configuration information, simply store it in a field and call save().
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject o)
           
 void doCheckName(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, java.lang.String value)
          Performs on-the-fly validation of the form field 'name'.
 java.lang.String getDisplayName()
          This human readable name is used in the configuration screen.
 hudson.tasks.Builder newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
Methods inherited from class hudson.model.Descriptor
configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, 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

DimensionsBuilder.DescriptorImpl

public DimensionsBuilder.DescriptorImpl()
To persist global configuration information, simply store it in a field and call save().

If you don't want fields to be persisted, use transient.

Method Detail

doCheckName

public void doCheckName(org.kohsuke.stapler.StaplerRequest req,
                        org.kohsuke.stapler.StaplerResponse rsp,
                        @QueryParameter
                        java.lang.String value)
                 throws java.io.IOException,
                        javax.servlet.ServletException
Performs on-the-fly validation of the form field 'name'.

Parameters:
value - This receives the current value of the field.
Throws:
java.io.IOException
javax.servlet.ServletException

newInstance

public hudson.tasks.Builder 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.Builder>
Throws:
hudson.model.Descriptor.FormException

getDisplayName

public java.lang.String getDisplayName()
This human readable name is used in the configuration screen.

Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>

configure

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


Copyright © 2010. All Rights Reserved.