Interface UpToDateChecker

  • All Superinterfaces:
    java.lang.AutoCloseable

    public interface UpToDateChecker
    extends java.lang.AutoCloseable
    • Method Detail

      • isUpToDate

        boolean isUpToDate​(java.nio.file.Path file)
      • setUpToDate

        void setUpToDate​(java.nio.file.Path file)
      • close

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • noop

        static UpToDateChecker noop​(org.apache.maven.project.MavenProject project,
                                    java.nio.file.Path indexFile,
                                    org.apache.maven.plugin.logging.Log log)
      • forProject

        static UpToDateChecker forProject​(org.apache.maven.project.MavenProject project,
                                          java.nio.file.Path indexFile,
                                          java.lang.Iterable<Formatter> formatters,
                                          org.apache.maven.plugin.logging.Log log)
      • wrapWithBuildContext

        static UpToDateChecker wrapWithBuildContext​(UpToDateChecker delegate,
                                                    org.sonatype.plexus.build.incremental.BuildContext buildContext)