protected static class ByteBuddyMojo.StalenessFilter extends ElementMatcher.Junction.ForNonNullValues<Plugin.Engine.Source.Element>
ElementMatcher.Junction.AbstractBase<V>, ElementMatcher.Junction.Conjunction<W>, ElementMatcher.Junction.Disjunction<W>, ElementMatcher.Junction.ForNonNullValues<W>
ElementMatcher.Junction<S>
Modifier | Constructor and Description |
---|---|
protected |
StalenessFilter(org.apache.maven.plugin.logging.Log log,
long latestTimestamp)
Creates a new staleness filter.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
doMatch(Plugin.Engine.Source.Element target)
Matches the supplied value if it was found not to be
null . |
protected int |
getFiltered()
Returns a count of class files that were filtered as they were created prior to the last build.
|
matches
and, or
protected StalenessFilter(org.apache.maven.plugin.logging.Log log, long latestTimestamp)
log
- The logger to use.latestTimestamp
- The timestamp for files to be filtered if they were created before it.protected boolean doMatch(Plugin.Engine.Source.Element target)
null
.doMatch
in class ElementMatcher.Junction.ForNonNullValues<Plugin.Engine.Source.Element>
target
- The instance to be matched.true
if the given element is matched by this matcher or false
otherwise.protected int getFiltered()
Copyright © 2014–2023. All rights reserved.