net.praqma.hudson.notifier
Class CCUCMNotifier.DescriptorImpl

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

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

This class is used by Hudson to define the plugin.

Author:
Troels Selch, Margit Bennetzen

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
CCUCMNotifier.DescriptorImpl()
           
 
Method Summary
 String getDisplayName()
           
 boolean isApplicable(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 CCUCMNotifier.
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCUCMNotifier.DescriptorImpl

public CCUCMNotifier.DescriptorImpl()
Method Detail

getDisplayName

public 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 CCUCMNotifier. 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(Class<? extends hudson.model.AbstractProject> arg0)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


Copyright © 2004-2012. All Rights Reserved.