public class PlotPublisher extends AbstractPlotPublisher
hudson.tasks.Publisher.DescriptorExtensionListImpl| Modifier and Type | Field and Description |
|---|---|
static PlotDescriptor |
DESCRIPTOR |
| Constructor and Description |
|---|
PlotPublisher() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPlot(Plot plot)
Adds the new plot to the plot data structures managed by this object.
|
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> |
getDescriptor()
Called by Jenkins.
|
List<String> |
getOriginalGroups()
Returns all group names as the original user specified strings.
|
List<Plot> |
getPlots()
Returns the entire list of plots managed by this object.
|
List<Plot> |
getPlots(String urlGroup)
Returns the list of plots with the given group name.
|
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project)
Called by Jenkins.
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Called by Jenkins when a build is finishing.
|
void |
setPlots(List<Plot> plots)
Replaces the plots managed by this object with the given list.
|
String |
urlGroupToOriginalGroup(String urlGroup)
Converts a URL friendly plot group name to the original group name.
|
getRequiredMonitorService, originalGroupToUrlEncodedGroup, originalGroupToUrlGroupall, getProjectAction, needsToRunAfterFinalized, prebuildpublic static final PlotDescriptor DESCRIPTOR
public String urlGroupToOriginalGroup(String urlGroup)
public List<String> getOriginalGroups()
public void setPlots(List<Plot> plots)
plots - the new list of plotspublic void addPlot(Plot plot)
plot - the new plotpublic List<Plot> getPlots(String urlGroup)
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerpublic hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Recorderpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerIOExceptionInterruptedExceptionCopyright © 2004-2017. All Rights Reserved.