public class IronMQNotifier
extends hudson.tasks.Publisher
IronMQNotifier class.
Modifier and Type | Class and Description |
---|---|
static class |
IronMQNotifier.IronMQDescriptor |
Modifier and Type | Field and Description |
---|---|
boolean |
send_failure |
boolean |
send_success |
boolean |
send_unstable |
Constructor and Description |
---|
IronMQNotifier(String projectId,
String token,
String queueName,
String preferredServerName,
boolean send_success,
boolean send_failure,
boolean send_unstable,
long expirySeconds) |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultPreferredServerName()
Getter for the field
defaultPreferredServer . |
IronMQNotifier.IronMQDescriptor |
getDescriptor() |
long |
getExpirySeconds()
Getter for the field
expirySeconds . |
protected String |
getJobName()
Getter for the field
jobName . |
String |
getPreferredServerName()
Getter for the field
preferredServerName . |
String |
getProjectId()
Getter for the field
projectId . |
String |
getQueueName()
Getter for the field
queueName . |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getToken()
Getter for the field
token . |
boolean |
needsToRunAfterFinalized() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
setDefaultPreferredServerName(String defaultPreferredServerName)
Setter for the field
defaultPreferredServerName . |
void |
setExpirySeconds(long expirySeconds)
Setter for the field
expirySeconds . |
void |
setPreferredServerName(String preferredServerName)
Setter for the field
preferredServerName . |
void |
setProjectId(String projectId)
Setter for the field
projectId . |
void |
setQueueName(String queueName)
Setter for the field
queueName . |
void |
setToken(String token)
Setter for the field
token . |
public boolean send_success
public boolean send_failure
public boolean send_unstable
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public IronMQNotifier.IronMQDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Publisher
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
public boolean needsToRunAfterFinalized()
needsToRunAfterFinalized
in class hudson.tasks.Publisher
protected String getJobName()
Getter for the field jobName
.
String
object.public String getQueueName()
Getter for the field queueName
.
String
object.public void setQueueName(String queueName)
Setter for the field queueName
.
queueName
- a String
object.public String getProjectId()
Getter for the field projectId
.
String
object.public void setProjectId(String projectId)
Setter for the field projectId
.
projectId
- a String
object.public void setToken(String token)
Setter for the field token
.
token
- a String
object.public long getExpirySeconds()
Getter for the field expirySeconds
.
long
object.public void setExpirySeconds(long expirySeconds)
Setter for the field expirySeconds
.
expirySeconds
- a long
object.public void setPreferredServerName(String preferredServerName)
Setter for the field preferredServerName
.
preferredServerName
- a String
object.public String getPreferredServerName()
Getter for the field preferredServerName
.
String
object.public String getDefaultPreferredServerName()
Getter for the field defaultPreferredServer
.
String
object.Copyright © 2004-2015. All Rights Reserved.