Interface RegenerationCheckStrategy

    • Method Detail

      • needsRegeneration

        boolean needsRegeneration​(@Nonnull
                                  AIInOut output,
                                  @Nonnull
                                  List<AIInOut> inputs,
                                  @Nonnull
                                  WritingStrategy writingStrategy,
                                  @Nonnull
                                  List<String> inputVersions)
        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.