net.praqma.hudson.notifier
Class PucmNotifier.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by net.praqma.hudson.notifier.PucmNotifier.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
PucmNotifier

@Extension
public static final class PucmNotifier.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

This class is used by Hudson to define the plugin.

Author:
Troels Selch S�rensen, Margit Bennetzen

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
PucmNotifier.DescriptorImpl()
           
 
Method Summary
 java.lang.String getDisplayName()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> arg0)
           
 hudson.tasks.Notifier newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
          Hudson uses this method to create a new instance of PucmNotifier.
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, 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, toString, wait, wait, wait
 

Constructor Detail

PucmNotifier.DescriptorImpl

public PucmNotifier.DescriptorImpl()
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>

newInstance

public hudson.tasks.Notifier newInstance(org.kohsuke.stapler.StaplerRequest req,
                                         net.sf.json.JSONObject formData)
                                  throws hudson.model.Descriptor.FormException
Hudson uses this method to create a new instance of PucmNotifier. The method gets information from Hudson config page. This information is about the configuration, which Hudson saves.

Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException

isApplicable

public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> arg0)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


Copyright © 2011. All Rights Reserved.