Interface ArchiveTool.ActionConfirmation<T>

Type Parameters:
T - type of the context data.
Enclosing class:
ArchiveTool
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 static interface ArchiveTool.ActionConfirmation<T>
Allows user to confirm or reject an action.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    confirm(T context)
    Confirm or reject the action.
  • Method Details

    • confirm

      boolean confirm(T context)
      Confirm or reject the action.
      Parameters:
      context - context data.
      Returns:
      true confirms the action and false to reject the action.