Class AbstractSummarizingResultHandler<T extends ObjectType>

  • All Implemented Interfaces:
    ResultHandler<T>

    public abstract class AbstractSummarizingResultHandler<T extends ObjectType>
    extends Object
    implements ResultHandler<T>
    Class provides OperationResult summarizing functionality for result handler. Result is summarized after every handled object.
    Author:
    lazyman
    • Constructor Detail

      • AbstractSummarizingResultHandler

        protected AbstractSummarizingResultHandler()
      • AbstractSummarizingResultHandler

        protected AbstractSummarizingResultHandler​(boolean summarizeErrors,
                                                   boolean summarizePartialErrors,
                                                   boolean summarizeSuccesses)
    • Method Detail

      • handle

        public boolean handle​(PrismObject<T> object,
                              OperationResult parentResult)
        Description copied from interface: ResultHandler
        Handle a single result.
        Specified by:
        handle in interface ResultHandler<T extends ObjectType>
        Parameters:
        object - Resource object to process.
        Returns:
        true if the operation should proceed, false if it should stop
      • handleObject

        protected abstract boolean handleObject​(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