|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
hudson.plugins.plot.AbstractPlotPublisher
hudson.plugins.plot.PlotPublisher
public class PlotPublisher
Records the plot data for builds.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
|---|
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
|---|
hudson.tasks.BuildStep.PublisherList |
| Field Summary | |
|---|---|
static PlotDescriptor |
DESCRIPTOR
|
| Fields inherited from interface hudson.tasks.BuildStep |
|---|
BUILDERS, PUBLISHERS |
| Constructor Summary | |
|---|---|
PlotPublisher()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class hudson.plugins.plot.AbstractPlotPublisher |
|---|
getRequiredMonitorService, originalGroupToUrlEncodedGroup, originalGroupToUrlGroup |
| Methods inherited from class hudson.tasks.Publisher |
|---|
all, getProjectAction, needsToRunAfterFinalized, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
|---|
getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final PlotDescriptor DESCRIPTOR
| Constructor Detail |
|---|
public PlotPublisher()
| Method Detail |
|---|
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()
public 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.Recorder
public 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.BuildStepCompatibilityLayerIOException
InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||