com.redfin.hudson
Class UrlChangeTrigger.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.triggers.Trigger<?>>
      extended by hudson.triggers.TriggerDescriptor
          extended by com.redfin.hudson.UrlChangeTrigger.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
UrlChangeTrigger

@Extension
public static final class UrlChangeTrigger.DescriptorImpl
extends hudson.triggers.TriggerDescriptor


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
UrlChangeTrigger.DescriptorImpl()
           
 
Method Summary
 hudson.util.FormValidation doCheck(java.lang.String url)
          Performs syntax check.
 java.lang.String getDisplayName()
           
 java.lang.String getHelpFile()
           
 boolean isApplicable(hudson.model.Item item)
           
 UrlChangeTrigger newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, 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

UrlChangeTrigger.DescriptorImpl

public UrlChangeTrigger.DescriptorImpl()
Method Detail

isApplicable

public boolean isApplicable(hudson.model.Item item)
Specified by:
isApplicable in class hudson.triggers.TriggerDescriptor

getDisplayName

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

getHelpFile

public java.lang.String getHelpFile()
Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.triggers.Trigger<?>>

doCheck

public hudson.util.FormValidation doCheck(@QueryParameter(value="urlChangeTrigger.url")
                                          java.lang.String url)
Performs syntax check.


newInstance

public UrlChangeTrigger newInstance(org.kohsuke.stapler.StaplerRequest req,
                                    net.sf.json.JSONObject formData)
                             throws hudson.model.Descriptor.FormException
Overrides:
newInstance in class hudson.model.Descriptor<hudson.triggers.Trigger<?>>
Throws:
hudson.model.Descriptor.FormException


Copyright © 2011. All Rights Reserved.