Interface CleanupAnalysisSubmissionCondition

  • All Known Implementing Classes:
    CleanupAnalysisSubmissionConditionAge
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface CleanupAnalysisSubmissionCondition
    Defines an interface for a condition on whether or not to clean up an AnalysisSubmission.
    • Method Detail

      • shouldCleanupSubmission

        boolean shouldCleanupSubmission​(AnalysisSubmission analysisSubmission)
        Whether or not the passed AnalysisSubmission should be cleaned up.
        Parameters:
        analysisSubmission - The submission to check.
        Returns:
        True if the submission should be cleaned up, false otherwise.