Interface ResultHandler<T extends ObjectType>

  • All Known Implementing Classes:
    AbstractSummarizingResultHandler
    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 ResultHandler<T extends ObjectType>
    Classes implementing this interface are used to handle iterative results. It is only used to handle iterative search results now. It may be reused for other purposes as well. TODO this should perhaps be named ObjectResultHandler
    Author:
    Radovan Semancik
    • Method Detail

      • handle

        boolean handle​(PrismObject<T> object,
                       OperationResult parentResult)
        Handle a single result.
        Parameters:
        object - Resource object to process.
        Returns:
        true if the operation should proceed, false if it should stop