jenkins.plugins.lechat
Class LeChatNotifier

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by jenkins.plugins.lechat.LeChatNotifier
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class LeChatNotifier
extends hudson.tasks.Notifier


Nested Class Summary
static class LeChatNotifier.DescriptorImpl
           
static class LeChatNotifier.LeChatJobProperty
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
LeChatNotifier(String room, String buildServerUrl, String sendAs)
           
 
Method Summary
 String getBuildServerUrl()
           
 LeChatNotifier.DescriptorImpl getDescriptor()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 String getRoom()
           
 String getSendAs()
           
 LeChatService newLeChatService(String room)
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 void setBuildServerUrl(String buildServerUrl)
           
 void setRoom(String room)
           
 void setSendAs(String sendAs)
           
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, prebuild
 

Constructor Detail

LeChatNotifier

@DataBoundConstructor
public LeChatNotifier(String room,
                                           String buildServerUrl,
                                           String sendAs)
Method Detail

getDescriptor

public LeChatNotifier.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Notifier

getRoom

public String getRoom()

getBuildServerUrl

public String getBuildServerUrl()

getSendAs

public String getSendAs()

setBuildServerUrl

public void setBuildServerUrl(String buildServerUrl)

setRoom

public void setRoom(String room)

setSendAs

public void setSendAs(String sendAs)

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

newLeChatService

public LeChatService newLeChatService(String room)

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
InterruptedException
IOException


Copyright © 2004-2013. All Rights Reserved.