public class PlotPublisher extends AbstractPlotPublisher
Publisher.DescriptorExtensionListImplExtensionPoint.LegacyInstancesAreScopedToHudsonBuildStep.PublisherList| Modifier and Type | Field and Description |
|---|---|
static PlotDescriptor |
DESCRIPTOR |
BUILDERS, PUBLISHERS| 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.
|
BuildStepDescriptor<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.
|
Action |
getProjectAction(AbstractProject<?,?> project)
Called by Jenkins.
|
BuildStepMonitor |
getRequiredMonitorService() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
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.
|
originalGroupToUrlEncodedGroup, originalGroupToUrlGroupall, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectActions, perform, 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 Action getProjectAction(AbstractProject<?,?> project)
getProjectAction in interface BuildStepgetProjectAction in class BuildStepCompatibilityLayerpublic List<Plot> getPlots(String urlGroup)
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
perform in interface BuildStepperform in class BuildStepCompatibilityLayerIOExceptionInterruptedExceptionpublic BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface BuildStepgetRequiredMonitorService in class AbstractPlotPublisherpublic BuildStepDescriptor<Publisher> getDescriptor()
getDescriptor in interface Describable<Publisher>getDescriptor in class RecorderCopyright © 2016–2022. All rights reserved.