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.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionprotected 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.BuildStepgetRequiredMonitorService in class hudson.tasks.BuilderCopyright © 2004-2018. All Rights Reserved.