Package htmlpublisher
Class HtmlPublisherTarget
- All Implemented Interfaces:
Describable<HtmlPublisherTarget>
A representation of an HTML directory to archive and publish.
- Author:
- Mike Rooney
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classstatic classclassclassstatic classHidden action, which indicates the build has been published on the project level. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHtmlPublisherTarget(String reportName, String reportDir, String reportFiles, boolean keepAll, boolean allowMissing) Deprecated.HtmlPublisherTarget(String reportName, String reportDir, String reportFiles, boolean keepAll, boolean alwaysLinkToLastBuild, boolean allowMissing) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleangetArchiveTarget(Run build) booleangetIcon()booleanintgetProjectAction(AbstractItem item) voidhandleAction(Run<?, ?> build) Deprecated.inthashCode()protected ObjectCalled by XStream after object constructionstatic StringsanitizeReportName(String reportName, boolean escapeUnderscores) voidsetEscapeUnderscores(boolean escapeUnderscores) voidvoidsetIncludes(String includes) voidsetNumberOfWorkers(int numberOfWorkers) voidsetReportName(String reportName) voidsetReportTitles(String reportTitles) voidsetUseWrapperFileDirectly(boolean useWrapperFileDirectly) Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
INCLUDE_ALL_PATTERN
- See Also:
-
-
Constructor Details
-
HtmlPublisherTarget
@Deprecated public HtmlPublisherTarget(String reportName, String reportDir, String reportFiles, boolean keepAll, boolean allowMissing) -
HtmlPublisherTarget
@DataBoundConstructor public HtmlPublisherTarget(String reportName, String reportDir, String reportFiles, boolean keepAll, boolean alwaysLinkToLastBuild, boolean allowMissing) Constructor.- Parameters:
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 missing- Since:
- 1.4
-
-
Method Details
-
getReportTitles
-
getReportName
-
getReportDir
-
getReportFiles
-
getAlwaysLinkToLastBuild
public boolean getAlwaysLinkToLastBuild() -
getKeepAll
public boolean getKeepAll() -
getAllowMissing
public boolean getAllowMissing() -
getEscapeUnderscores
public boolean getEscapeUnderscores() -
getIcon
-
setIcon
-
setEscapeUnderscores
@DataBoundSetter public void setEscapeUnderscores(boolean escapeUnderscores) -
getUseWrapperFileDirectly
-
setUseWrapperFileDirectly
@DataBoundSetter public void setUseWrapperFileDirectly(boolean useWrapperFileDirectly) -
getNumberOfWorkers
public int getNumberOfWorkers() -
setNumberOfWorkers
@DataBoundSetter public void setNumberOfWorkers(int numberOfWorkers) -
setReportTitles
-
setReportName
-
getSanitizedName
-
sanitizeReportName
-
getWrapperName
-
getArchiveTarget
-
handleAction
Deprecated. -
getProjectAction
-
getIncludes
- Returns:
- the pattern for including files, default to all if no pattern specified
-
setIncludes
- Parameters:
includes- Ant GLOB pattern
-
readResolve
Called by XStream after object construction- Returns:
- modified object
-
hashCode
public int hashCode() -
equals
-
HtmlPublisherTarget(java.lang.String, java.lang.String, java.lang.String, boolean, boolean, boolean).