hudson.plugins.nant
Class NantBuilder.DescriptorImpl

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

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

Descriptor for NantBuilder. 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
static java.lang.String PARAMETERNAME_PATH_TO_NANT
          To persist global configuration information, simply store it in a field and call save().
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
protected  void convert(java.util.Map<java.lang.String,java.lang.Object> oldPropertyBag)
           
 hudson.util.FormValidation doCheckNantHome(java.lang.String value)
          Checks if the NANT_HOME is valid.
 java.lang.String getDisplayName()
          This human readable name is used in the configuration screen.
 NantBuilder.NantInstallation[] getInstallations()
           
 
Methods inherited from class hudson.model.Descriptor
configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMETERNAME_PATH_TO_NANT

public static java.lang.String PARAMETERNAME_PATH_TO_NANT
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

convert

protected void convert(java.util.Map<java.lang.String,java.lang.Object> oldPropertyBag)
Overrides:
convert in class hudson.model.Descriptor<hudson.tasks.Builder>

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>

getInstallations

public NantBuilder.NantInstallation[] getInstallations()

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

doCheckNantHome

public hudson.util.FormValidation doCheckNantHome(@QueryParameter
                                                  java.lang.String value)
Checks if the NANT_HOME is valid.



Copyright © 2009. All Rights Reserved.