org.apache.maven.plugins.linkcheck
Class LinkcheckReportGenerator
java.lang.Object
org.apache.maven.plugins.linkcheck.LinkcheckReportGenerator
public class LinkcheckReportGenerator
- extends java.lang.Object
- Since:
- 1.1
- Author:
- ltheussl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkcheckReportGenerator
public LinkcheckReportGenerator(org.codehaus.plexus.i18n.I18N i18n)
- Parameters:
i18n
- not null.
setExcludedHttpStatusErrors
public void setExcludedHttpStatusErrors(java.lang.Integer[] excludedHttpStatusErrors)
- Parameters:
excludedHttpStatusErrors
- may be null.
setExcludedHttpStatusWarnings
public void setExcludedHttpStatusWarnings(java.lang.Integer[] excludedHttpStatusWarnings)
- Parameters:
excludedHttpStatusWarnings
- may be null.
setExcludedLinks
public void setExcludedLinks(java.lang.String[] excludedLinks)
- Parameters:
excludedLinks
- may be null.
setExcludedPages
public void setExcludedPages(java.lang.String[] excludedPages)
- Parameters:
excludedPages
- may be null.
setHttpFollowRedirect
public void setHttpFollowRedirect(boolean httpFollowRedirect)
- Parameters:
httpFollowRedirect
- default is false.
setHttpMethod
public void setHttpMethod(java.lang.String httpMethod)
- Parameters:
httpMethod
- may be null.
setOffline
public void setOffline(boolean offline)
- Parameters:
offline
- default is false.
generateReport
public void generateReport(java.util.Locale locale,
org.apache.maven.doxia.linkcheck.model.LinkcheckModel linkcheckModel,
org.apache.maven.doxia.sink.Sink sink)
- Genarate a report for the given LinkcheckModel and emit it into a Sink.
Note that the Sink is flushed and closed.
- Parameters:
locale
- not null.linkcheckModel
- may be null.sink
- not null.
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.