com.tikal.hudson.plugins.notification
Class HudsonNotificationPropertyDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<hudson.model.JobProperty<?>>
      extended by hudson.model.JobPropertyDescriptor
          extended by com.tikal.hudson.plugins.notification.HudsonNotificationPropertyDescriptor
All Implemented Interfaces:
hudson.model.Saveable

@Extension
public final class HudsonNotificationPropertyDescriptor
extends hudson.model.JobPropertyDescriptor


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
HudsonNotificationPropertyDescriptor()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doCheckUrl(java.lang.String url, java.lang.String protocolParameter)
           
 java.lang.String getDisplayName()
           
 java.util.List<Endpoint> getTargets()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.Job> jobType)
           
 boolean isEnabled()
           
 HudsonNotificationProperty newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 void setEndpoints(java.util.List<Endpoint> endpoints)
           
 
Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, 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

HudsonNotificationPropertyDescriptor

public HudsonNotificationPropertyDescriptor()
Method Detail

isEnabled

public boolean isEnabled()

getTargets

public java.util.List<Endpoint> getTargets()

setEndpoints

public void setEndpoints(java.util.List<Endpoint> endpoints)

isApplicable

public boolean isApplicable(java.lang.Class<? extends hudson.model.Job> jobType)
Overrides:
isApplicable in class hudson.model.JobPropertyDescriptor

getDisplayName

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

newInstance

public HudsonNotificationProperty newInstance(org.kohsuke.stapler.StaplerRequest req,
                                              net.sf.json.JSONObject formData)
                                       throws hudson.model.Descriptor.FormException
Overrides:
newInstance in class hudson.model.JobPropertyDescriptor
Throws:
hudson.model.Descriptor.FormException

doCheckUrl

public hudson.util.FormValidation doCheckUrl(@QueryParameter(value="url",fixEmpty=true)
                                             java.lang.String url,
                                             @QueryParameter(value="protocol")
                                             java.lang.String protocolParameter)

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject formData)
Overrides:
configure in class hudson.model.Descriptor<hudson.model.JobProperty<?>>


Copyright © 2011. All Rights Reserved.