Skip navigation links


org.identityconnectors.test.common
Class ToListResultsHandler

java.lang.Object
  extended by org.identityconnectors.test.common.ToListResultsHandler

All Implemented Interfaces:
ResultsHandler

public final class ToListResultsHandler
extends java.lang.Object
implements ResultsHandler

A ResultsHandler which stores all connector objects into a list retrievable with getObjects().


Constructor Summary
ToListResultsHandler()
           

 

Method Summary
 java.util.List<ConnectorObject> getObjects()
           
 boolean handle(ConnectorObject object)
          Call-back method to do whatever it is the caller wants to do with each ConnectorObject that is returned in the result of SearchApiOp.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ToListResultsHandler

public ToListResultsHandler()

Method Detail

handle

public boolean handle(ConnectorObject object)
Description copied from interface: ResultsHandler
Call-back method to do whatever it is the caller wants to do with each ConnectorObject that is returned in the result of SearchApiOp.
Specified by:
handle in interface ResultsHandler
Parameters:
object - each object return from the search.
Returns:
true if we should keep processing else false to cancel.

getObjects

public java.util.List<ConnectorObject> getObjects()

Skip navigation links


Copyright © 2013, Oracle and/or its affiliates. All rights reserved.