public class HtmlPublisherTarget extends AbstractDescribableImpl<HtmlPublisherTarget>
| Modifier and Type | Class and Description |
|---|---|
protected class |
HtmlPublisherTarget.BaseHTMLAction |
static class |
HtmlPublisherTarget.DescriptorImpl |
class |
HtmlPublisherTarget.HTMLAction |
class |
HtmlPublisherTarget.HTMLBuildAction |
static class |
HtmlPublisherTarget.HTMLPublishedForProjectMarkerAction
Hidden action, which indicates the build has been published on the project level.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
INCLUDE_ALL_PATTERN |
| Constructor and Description |
|---|
HtmlPublisherTarget(String reportName,
String reportDir,
String reportFiles,
boolean keepAll,
boolean allowMissing)
|
HtmlPublisherTarget(String reportName,
String reportDir,
String reportFiles,
boolean keepAll,
boolean alwaysLinkToLastBuild,
boolean allowMissing)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAllowMissing() |
boolean |
getAlwaysLinkToLastBuild() |
FilePath |
getArchiveTarget(Run build) |
boolean |
getEscapeUnderscores() |
String |
getIncludes() |
boolean |
getKeepAll() |
Action |
getProjectAction(AbstractItem item) |
String |
getReportDir() |
String |
getReportFiles() |
String |
getReportName() |
String |
getReportTitles() |
String |
getSanitizedName() |
String |
getWrapperName() |
void |
handleAction(Run<?,?> build)
Deprecated.
|
int |
hashCode() |
protected Object |
readResolve()
Called by XStream after object construction
|
static String |
sanitizeReportName(String reportName,
boolean escapeUnderscores) |
void |
setEscapeUnderscores(boolean escapeUnderscores) |
void |
setIncludes(String includes) |
void |
setReportTitles(String reportTitles) |
getDescriptorpublic static final String INCLUDE_ALL_PATTERN
@Deprecated public HtmlPublisherTarget(String reportName, String reportDir, String reportFiles, boolean keepAll, boolean allowMissing)
@DataBoundConstructor public HtmlPublisherTarget(String reportName, String reportDir, String reportFiles, boolean keepAll, boolean alwaysLinkToLastBuild, boolean allowMissing)
reportName - Report namereportDir - Source directory in the job workspacereportFiles - Files to be publishedkeepAll - True if the report should be stored for all buildsalwaysLinkToLastBuild - If true, the job action will refer the latest build.
Otherwise, the latest successful one will be referencedallowMissing - If true, blocks the build failure if the report is missingpublic String getReportTitles()
public String getReportName()
public String getReportDir()
public String getReportFiles()
public boolean getAlwaysLinkToLastBuild()
public boolean getKeepAll()
public boolean getAllowMissing()
public boolean getEscapeUnderscores()
@DataBoundSetter public void setEscapeUnderscores(boolean escapeUnderscores)
@DataBoundSetter public void setReportTitles(String reportTitles)
public String getSanitizedName()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static String sanitizeReportName(String reportName, boolean escapeUnderscores)
public String getWrapperName()
@Deprecated public void handleAction(Run<?,?> build)
public Action getProjectAction(AbstractItem item)
public String getIncludes()
@DataBoundSetter public void setIncludes(String includes)
includes - Ant GLOB patternprotected Object readResolve()
Copyright © 2016–2022. All rights reserved.