Skip to content
Permalink
Browse files

[FIXED JENKINS-29626] - Restore the removed constructor, add Javadoc

  • Loading branch information...
oleg-nenashev committed Jul 24, 2015
1 parent b0c8653 commit 99dde68428b021af356a69964431e4e33ff1c62d
Showing with 19 additions and 0 deletions.
  1. +19 −0 src/main/java/htmlpublisher/HtmlPublisherTarget.java
@@ -64,6 +64,25 @@
*/
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;

0 comments on commit 99dde68

Please sign in to comment.
You can’t perform that action at this time.