|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.model.importer.ImportFromResourceResultHandler
public class ImportFromResourceResultHandler
Iterative search result handler for "import from resource" task. This class is called back from the searchObjectsIterative() operation of the provisioning service. It does most of the work of the "import" operation It will actually setup the "create" change notification for all objects and invoke a ResourceObjectChangeListener interface.
ImportFromResourceTaskHandler
Constructor Summary | |
---|---|
ImportFromResourceResultHandler(ResourceType resource,
Task task,
ResourceObjectChangeListener objectChangeListener)
|
Method Summary | |
---|---|
long |
getProgress()
|
boolean |
handle(ObjectType object,
OperationResult parentResult)
Handle a single result. |
long |
heartbeat()
|
boolean |
isStopOnError()
Get the value of stopOnError |
void |
setStopOnError(boolean stopOnError)
Set the value of stopOnError |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportFromResourceResultHandler(ResourceType resource, Task task, ResourceObjectChangeListener objectChangeListener)
Method Detail |
---|
public boolean handle(ObjectType object, OperationResult parentResult)
ResultHandler
handle
in interface ResultHandler
object
- Resource object to process.
public long heartbeat()
public long getProgress()
public boolean isStopOnError()
public void setStopOnError(boolean stopOnError)
stopOnError
- new value of stopOnError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |