Interface UpToDateChecker
-
- All Superinterfaces:
java.lang.AutoCloseable
public interface UpToDateChecker extends java.lang.AutoCloseable
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
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)
boolean
isUpToDate(java.nio.file.Path file)
static UpToDateChecker
noop(org.apache.maven.project.MavenProject project, java.nio.file.Path indexFile, org.apache.maven.plugin.logging.Log log)
void
setUpToDate(java.nio.file.Path file)
static UpToDateChecker
wrapWithBuildContext(UpToDateChecker delegate, org.sonatype.plexus.build.incremental.BuildContext buildContext)
-
-
-
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 interfacejava.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)
-
-