public class TwitterPublisher
extends hudson.tasks.Builder
Modifier and Type | Class and Description |
---|---|
static class |
TwitterPublisher.DescriptorImpl
The descriptor class.
|
Constructor and Description |
---|
TwitterPublisher(String tokenCredentialsID,
String consumerCredentialsID,
String tweetText) |
Modifier and Type | Method and Description |
---|---|
String |
getConsumerCredentialsID() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getTokenCredentialsID() |
String |
getTweetText() |
protected org.apache.commons.lang.text.StrSubstitutor |
getVariablesSubstitutor(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener lis)
Returns a StringSubstitutor replacing variables e.g.
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
public String getTokenCredentialsID()
public String getConsumerCredentialsID()
public String getTweetText()
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
protected org.apache.commons.lang.text.StrSubstitutor getVariablesSubstitutor(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener lis)
build
- the current buildlis
- the listener of the current buildpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
getRequiredMonitorService
in class hudson.tasks.Builder
Copyright © 2004-2018. All Rights Reserved.