Package org.apache.maven.plugins.javadoc
Class StaleHelper
java.lang.Object
org.apache.maven.plugins.javadoc.StaleHelper
Helper class to compute and write data used to detect a
stale javadoc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static CharsetCompute the encoding of the stale javadocgetStaleData(org.codehaus.plexus.util.cli.Commandline cmd) Compute the data used to detect a stale javadocprivate static longprivate static Stringprivate static Collection<Path> static voidwriteStaleData(org.codehaus.plexus.util.cli.Commandline cmd, Path path) Write the data used to detect a stale javadoc
-
Constructor Details
-
StaleHelper
public StaleHelper()
-
-
Method Details
-
getDataCharset
Compute the encoding of the stale javadoc- Returns:
- the encoding of the stale data
-
getStaleData
public static List<String> getStaleData(org.codehaus.plexus.util.cli.Commandline cmd) throws org.apache.maven.reporting.MavenReportException Compute the data used to detect a stale javadoc- Parameters:
cmd- the command line- Returns:
- the stale data
- Throws:
org.apache.maven.reporting.MavenReportException- if an error occurs
-
writeStaleData
public static void writeStaleData(org.codehaus.plexus.util.cli.Commandline cmd, Path path) throws org.apache.maven.reporting.MavenReportException Write the data used to detect a stale javadoc- Parameters:
cmd- the command linepath- the stale data path- Throws:
org.apache.maven.reporting.MavenReportException- if an error occurs
-
walk
-
unquote
-
lastmod
-