jenkins.plugins.talk
Class TalkNotifier.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by jenkins.plugins.talk.TalkNotifier.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
TalkNotifier

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


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
TalkNotifier.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest sr, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doTestConnection(String authToken, String buildServerUrl)
           
 String getBuildServerUrl()
           
 String getDisplayName()
           
 String getSendAs()
           
 String getToken()
           
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
           
 TalkNotifier newInstance(org.kohsuke.stapler.StaplerRequest sr, net.sf.json.JSONObject json)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, 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

TalkNotifier.DescriptorImpl

public TalkNotifier.DescriptorImpl()
Method Detail

getToken

public String getToken()

getBuildServerUrl

public String getBuildServerUrl()

getSendAs

public String getSendAs()

isApplicable

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

newInstance

public TalkNotifier newInstance(org.kohsuke.stapler.StaplerRequest sr,
                                net.sf.json.JSONObject json)
Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest sr,
                         net.sf.json.JSONObject formData)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException

getDisplayName

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

doTestConnection

public hudson.util.FormValidation doTestConnection(@QueryParameter(value="talkToken")
                                                   String authToken,
                                                   @QueryParameter(value="talkBuildServerUrl")
                                                   String buildServerUrl)
                                            throws hudson.model.Descriptor.FormException
Throws:
hudson.model.Descriptor.FormException


Copyright © 2004-2015. All Rights Reserved.