net.hurstfrost.hudson.sounds
Class SoundsBuildTask.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
          extended by net.hurstfrost.hudson.sounds.SoundsBuildTask.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
SoundsBuildTask

@Extension
public static class SoundsBuildTask.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>


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
  SoundsBuildTask.DescriptorImpl()
           
protected SoundsBuildTask.DescriptorImpl(java.lang.Class<? extends SoundsBuildTask> clazz)
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
           
 hudson.util.FormValidation doCheckAfterDelayMs(java.lang.String afterDelayMs)
           
 hudson.util.FormValidation doCheckSoundUrl(java.lang.String soundUrl)
           
 hudson.util.FormValidation doTestSound(java.lang.String selectedSound)
           
 hudson.util.FormValidation doTestUrl(java.lang.String soundUrl)
           
 java.lang.String getDisplayName()
           
 java.lang.String getHelpFile()
           
 java.util.List<HudsonSoundsNotifier.HudsonSoundsDescriptor.SoundBite> getSounds()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
           
 SoundsBuildTask newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, 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

SoundsBuildTask.DescriptorImpl

public SoundsBuildTask.DescriptorImpl()

SoundsBuildTask.DescriptorImpl

protected SoundsBuildTask.DescriptorImpl(java.lang.Class<? extends SoundsBuildTask> clazz)
Method Detail

isApplicable

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

doCheckSoundUrl

public hudson.util.FormValidation doCheckSoundUrl(@QueryParameter
                                                  java.lang.String soundUrl)

doCheckAfterDelayMs

public hudson.util.FormValidation doCheckAfterDelayMs(@QueryParameter
                                                      java.lang.String afterDelayMs)

getSounds

public java.util.List<HudsonSoundsNotifier.HudsonSoundsDescriptor.SoundBite> getSounds()

doTestSound

public hudson.util.FormValidation doTestSound(@QueryParameter
                                              java.lang.String selectedSound)

doTestUrl

public hudson.util.FormValidation doTestUrl(@QueryParameter
                                            java.lang.String soundUrl)

configure

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

getHelpFile

public java.lang.String getHelpFile()
Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.tasks.Builder>

getDisplayName

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

newInstance

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


Copyright © 2013. All Rights Reserved.