public class MqttNotifier
extends hudson.tasks.Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
MqttNotifier.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
MqttNotifier(String brokerUrl,
String topic,
String message,
String qos,
boolean retainMessage,
com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials) |
MqttNotifier(String brokerUrl,
String topic,
String message,
String qos,
boolean retainMessage,
String credentialsId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBrokerUrl() |
String |
getCredentialsId() |
String |
getMessage() |
int |
getQos() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getTopic() |
boolean |
isRetainMessage() |
static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials |
lookupSystemCredentials(String credentialsId) |
boolean |
needsToRunAfterFinalized() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
@DataBoundConstructor public MqttNotifier(String brokerUrl, String topic, String message, String qos, boolean retainMessage, String credentialsId)
public String getCredentialsId()
public String getBrokerUrl()
public String getTopic()
public String getMessage()
public int getQos()
public boolean isRetainMessage()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public boolean needsToRunAfterFinalized()
needsToRunAfterFinalized in class hudson.tasks.Publisherpublic static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials lookupSystemCredentials(String credentialsId)
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerCopyright © 2004-2016. All Rights Reserved.