hudson.plugins.msbuild
Class MsBuildBuilder.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.tasks.Builder>
      extended by hudson.plugins.msbuild.MsBuildBuilder.DescriptorImpl
Enclosing class:
MsBuildBuilder

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

Descriptor for MsBuildBuilder. 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
 
Field Summary
static java.lang.String PARAMETERNAME_PATH_TO_MSBUILD
          To persist global configuration information, simply store it in a field and call save().
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req)
           
 java.lang.String getDisplayName()
          This human readable name is used in the configuration screen.
 java.lang.String getPathToMsBuild()
          This method returns the path to the msbuild.exe file for executing msbuild
 hudson.tasks.Builder newInstance(org.kohsuke.stapler.StaplerRequest arg0, net.sf.json.JSONObject arg1)
           
 
Methods inherited from class hudson.model.Descriptor
configure, convert, find, getConfigPage, getGlobalConfigPage, getHelpFile, 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
 

Field Detail

PARAMETERNAME_PATH_TO_MSBUILD

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

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)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Builder>
Throws:
hudson.model.Descriptor.FormException

getPathToMsBuild

public java.lang.String getPathToMsBuild()
This method returns the path to the msbuild.exe file for executing msbuild


newInstance

public hudson.tasks.Builder newInstance(org.kohsuke.stapler.StaplerRequest arg0,
                                        net.sf.json.JSONObject arg1)
                                 throws hudson.model.Descriptor.FormException
Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Builder>
Throws:
hudson.model.Descriptor.FormException


Copyright © 2008. All Rights Reserved.