Class RegenerationCheckStrategy.VersionMarkerRegenerationCheckStrategy

    • Constructor Detail

      • VersionMarkerRegenerationCheckStrategy

        public VersionMarkerRegenerationCheckStrategy()
    • Method Detail

      • needsRegeneration

        public boolean needsRegeneration​(@Nonnull
                                         AIInOut output,
                                         @Nonnull
                                         List<AIInOut> inputs,
                                         @Nonnull
                                         WritingStrategy writingStrategy,
                                         @Nonnull
                                         List<String> inputVersions)
        Description copied from interface: RegenerationCheckStrategy
        Decides whether the output file needs to be regenerated.
        Specified by:
        needsRegeneration in interface RegenerationCheckStrategy
        Parameters:
        output - the output file
        inputs - the input files . Caution: a file with name "-" is a placeholder for stdin - it is not a file.
        writingStrategy - the writing strategy used to write the output file.
        inputVersions - versions of all inputs
        Returns:
        true if the output file needs to be regenerated.