Class LiveSyncImpl.AttributesToGetLiveSyncResultsHandler
- java.lang.Object
-
- org.identityconnectors.framework.impl.api.local.operations.AttributesToGetResultsHandler
-
- org.identityconnectors.framework.impl.api.local.operations.LiveSyncImpl.AttributesToGetLiveSyncResultsHandler
-
- All Implemented Interfaces:
LiveSyncResultsHandler
- Enclosing class:
- LiveSyncImpl
public static class LiveSyncImpl.AttributesToGetLiveSyncResultsHandler extends AttributesToGetResultsHandler implements LiveSyncResultsHandler
Simple handler to reduce the attributes to only the set of attribute to get.
-
-
Constructor Summary
Constructors Constructor Description AttributesToGetLiveSyncResultsHandler(LiveSyncResultsHandler handler, String[] attrsToGet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
handle(LiveSyncDelta delta)
Called to handle a delta in the stream.-
Methods inherited from class org.identityconnectors.framework.impl.api.local.operations.AttributesToGetResultsHandler
reduceToAttrsToGet, reduceToAttrsToGet
-
-
-
-
Constructor Detail
-
AttributesToGetLiveSyncResultsHandler
public AttributesToGetLiveSyncResultsHandler(LiveSyncResultsHandler handler, String[] attrsToGet)
-
-
Method Detail
-
handle
public boolean handle(LiveSyncDelta delta)
Description copied from interface:LiveSyncResultsHandler
Called to handle a delta in the stream. The Connector framework will call this method multiple times, once for each result. Although this method is callback, the framework will invoke it synchronously. Thus, the framework guarantees that once an application's call toLiveSyncApiOp#sync()
returns, the framework will no longer call this method to handle results from thatlivesync
operation.- Specified by:
handle
in interfaceLiveSyncResultsHandler
- Parameters:
delta
- The change- Returns:
- True if the application wants to continue processing more results.
-
-