public class GraphitePublisher
extends hudson.tasks.Notifier
hudson.tasks.Publisher.DescriptorExtensionListImpl
Modifier and Type | Field and Description |
---|---|
static DescriptorImpl |
DESCRIPTOR |
Constructor and Description |
---|
GraphitePublisher() |
GraphitePublisher(String ip,
String metric,
String protocol) |
Modifier and Type | Method and Description |
---|---|
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> |
getDescriptor() |
List<Metric> |
getMetrics() |
String |
getProtocol() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getSelectedIp() |
String |
getSelectedMetric() |
Server |
getServer() |
boolean |
needsToRunAfterFinalized() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
boolean |
prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
void |
setMetrics(List<Metric> metrics) |
void |
setProtocol(String protocol) |
void |
setSelectedIp(String ip) |
void |
setSelectedMetric(String metric) |
@Extension public static final DescriptorImpl DESCRIPTOR
public String getProtocol()
public void setProtocol(String protocol)
public String getSelectedIp()
public String getSelectedMetric()
public void setSelectedIp(String ip)
ip
- public void setSelectedMetric(String metric)
metric
- public Server getServer()
public boolean prebuild(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
prebuild
in interface hudson.tasks.BuildStep
prebuild
in class hudson.tasks.BuildStepCompatibilityLayer
public boolean needsToRunAfterFinalized()
needsToRunAfterFinalized
in class hudson.tasks.Publisher
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Notifier
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
Copyright © 2004-2015. All Rights Reserved.