Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #18 from jenkinsci/JENKINS-29626-binary-compat
[FIXED JENKINS-29626] - Restore the removed constructor, add Javadoc
  • Loading branch information
mrooney committed Jul 25, 2015
2 parents b0c8653 + 99dde68 commit ebe874d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/main/java/htmlpublisher/HtmlPublisherTarget.java
Expand Up @@ -64,6 +64,25 @@ public class HtmlPublisherTarget extends AbstractDescribableImpl<HtmlPublisherTa
*/
private final String wrapperName = "htmlpublisher-wrapper.html";

/**
* @deprecated Use {@link #HtmlPublisherTarget(java.lang.String, java.lang.String, java.lang.String, boolean, boolean, boolean)}.
*/
@Deprecated
public HtmlPublisherTarget(String reportName, String reportDir, String reportFiles, boolean keepAll, boolean allowMissing) {
this(reportName, reportDir, reportFiles, keepAll, false, allowMissing);
}

/**
* Constructor.
* @param reportName Report name
* @param reportDir Source directory in the job workspace
* @param reportFiles Files to be published
* @param keepAll True if the report should be stored for all builds
* @param alwaysLinkToLastBuild If true, the job action will refer the latest build.
* Otherwise, the latest successful one will be referenced
* @param allowMissing If true, blocks the build failure if the report is missing
* @since 1.4
*/
@DataBoundConstructor
public HtmlPublisherTarget(String reportName, String reportDir, String reportFiles, boolean keepAll, boolean alwaysLinkToLastBuild, boolean allowMissing) {
this.reportName = reportName;
Expand Down

0 comments on commit ebe874d

Please sign in to comment.