Interface RegenerationCheckStrategy

    • Method Detail

      • needsRegeneration

        boolean needsRegeneration​(@Nonnull
                                  File output,
                                  @Nonnull
                                  List<File> inputs,
                                  @Nonnull
                                  WritingStrategy writingStrategy,
                                  @Nonnull
                                  List<String> inputVersions)
                           throws IOException
        Decides whether the output file needs to be regenerated.
        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.
        Throws:
        IOException