hudson.plugins.ccm
Class CCMBuilderDescription

java.lang.Object
  extended by hudson.model.Descriptor<hudson.tasks.Builder>
      extended by hudson.plugins.ccm.CCMBuilderDescription
All Implemented Interfaces:
hudson.model.Saveable

public class CCMBuilderDescription
extends hudson.model.Descriptor<hudson.tasks.Builder>

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

Since:
7 april, 2010
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br

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
CCMBuilderDescription()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
          Called when the user hits save button.
 java.lang.String getDisplayName()
          This human readable name is used in the configuration screen.
 CCMBuilderInstallation[] getInstallations()
           
 
Methods inherited from class hudson.model.Descriptor
calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, 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
 

Constructor Detail

CCMBuilderDescription

public CCMBuilderDescription()
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>

getInstallations

public CCMBuilderInstallation[] getInstallations()

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject json)
                  throws hudson.model.Descriptor.FormException

Called when the user hits save button.

Saves the user input data and creates a CCMBuilderInstallation .

Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Builder>
Throws:
hudson.model.Descriptor.FormException


Copyright © 2010. All Rights Reserved.