hudson.plugins.PerfPublisher
Class ReportsDiff

java.lang.Object
  extended by hudson.plugins.PerfPublisher.ReportsDiff
All Implemented Interfaces:
hudson.model.ModelObject

public class ReportsDiff
extends java.lang.Object
implements hudson.model.ModelObject

This class is dedicated to the report diff display it prepares and generate the content of the diff

Author:
gbossert
See Also:
ModelObject

Constructor Summary
ReportsDiff(hudson.model.AbstractBuild<?,?> owner, org.kohsuke.stapler.StaplerRequest request, int nb_build1, ReportContainer report1, int nb_build2, ReportContainer report2, int nb_build3, ReportContainer report3)
          The constructor
 
Method Summary
 java.lang.String getBuild1Number()
          Getter for the first build number
 java.lang.String getBuild2Number()
          Getter for the second build number
 java.lang.String getBuild3Number()
          Getter for the third build number
 java.lang.String getDisplayName()
           
 java.lang.String getHtmlTestsDiff()
           
 hudson.model.AbstractBuild<?,?> getOwner()
           
 ReportContainer getReport1()
          Getter for the first report
 java.util.List<Test> getReport1Tests()
          Getter for the tests list of the first report
 ReportContainer getReport2()
          Getter for the second report
 java.util.List<Test> getReport2Tests()
          Getter for the tests of the second report
 ReportContainer getReport3()
          Getter for the third report
 java.util.List<Test> getReport3Tests()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportsDiff

public ReportsDiff(hudson.model.AbstractBuild<?,?> owner,
                   org.kohsuke.stapler.StaplerRequest request,
                   int nb_build1,
                   ReportContainer report1,
                   int nb_build2,
                   ReportContainer report2,
                   int nb_build3,
                   ReportContainer report3)
The constructor

Parameters:
owner -
shortDiff - activate or not the short display
nb_build1 - number of the first build
report1 - first report
nb_build2 - number of the second build
report2 - second report
nb_build3 - number of the third build
report3 - third report
Method Detail

getBuild1Number

public java.lang.String getBuild1Number()
Getter for the first build number

Returns:
the first build number

getBuild2Number

public java.lang.String getBuild2Number()
Getter for the second build number

Returns:
the second build number

getBuild3Number

public java.lang.String getBuild3Number()
Getter for the third build number

Returns:
the third build number

getReport1

public ReportContainer getReport1()
Getter for the first report

Returns:
the first report

getReport1Tests

public java.util.List<Test> getReport1Tests()
Getter for the tests list of the first report

Returns:
all the tests from the first report

getReport2

public ReportContainer getReport2()
Getter for the second report

Returns:
the second report

getReport2Tests

public java.util.List<Test> getReport2Tests()
Getter for the tests of the second report

Returns:
all the tests from the second report

getReport3

public ReportContainer getReport3()
Getter for the third report

Returns:
the third report

getReport3Tests

public java.util.List<Test> getReport3Tests()

getHtmlTestsDiff

public java.lang.String getHtmlTestsDiff()

getOwner

public hudson.model.AbstractBuild<?,?> getOwner()

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.ModelObject


Copyright © 2010. All Rights Reserved.