Class ByteBuddyMojo.StalenessFilter

    • Field Detail

      • log

        private final org.apache.maven.plugin.logging.Log log
        The logger to use.
      • latestTimestamp

        private final long latestTimestamp
        The timestamp for files to be filtered if they were created before it.
      • filtered

        private int filtered
        A count of class files that were filtered.
    • Constructor Detail

      • StalenessFilter

        protected StalenessFilter​(org.apache.maven.plugin.logging.Log log,
                                  long latestTimestamp)
        Creates a new staleness filter.
        Parameters:
        log - The logger to use.
        latestTimestamp - The timestamp for files to be filtered if they were created before it.
    • Method Detail

      • getFiltered

        protected int getFiltered()
        Returns a count of class files that were filtered as they were created prior to the last build.
        Returns:
        The amount of filtered classes.