Package org.apache.maven.plugins.javadoc
Class StaleHelper
- java.lang.Object
-
- org.apache.maven.plugins.javadoc.StaleHelper
-
public class StaleHelper extends java.lang.ObjectHelper class to compute and write data used to detect a stale javadoc.
-
-
Constructor Summary
Constructors Constructor Description StaleHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>getStaleData(org.codehaus.plexus.util.cli.Commandline cmd)Compute the data used to detect a stale javadocstatic voidwriteStaleData(org.codehaus.plexus.util.cli.Commandline cmd, java.nio.file.Path path)Write the data used to detect a stale javadoc
-
-
-
Method Detail
-
getStaleData
public static java.util.List<java.lang.String> getStaleData(org.codehaus.plexus.util.cli.Commandline cmd) throws org.apache.maven.reporting.MavenReportExceptionCompute 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, java.nio.file.Path path) throws org.apache.maven.reporting.MavenReportExceptionWrite 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
-
-