public abstract class AbstractSearchIterativeResultHandler<O extends ObjectType> extends Object implements ResultHandler<O>
Constructor and Description |
---|
AbstractSearchIterativeResultHandler(Task task,
String taskOperationPrefix,
String processShortName,
String contextDesc) |
Modifier and Type | Method and Description |
---|---|
String |
getContextDesc() |
long |
getErrors() |
protected String |
getProcessShortName() |
protected String |
getProcessShortNameCapitalized() |
long |
getProgress() |
Task |
getTask() |
String |
getTaskOperationPrefix() |
boolean |
handle(PrismObject<O> object,
OperationResult parentResult)
Handle a single result.
|
protected abstract boolean |
handleObject(PrismObject<O> object,
OperationResult result) |
long |
heartbeat() |
boolean |
isStopOnError() |
void |
setContextDesc(String contextDesc) |
void |
setProcessShortName(String processShortName) |
void |
setStopOnError(boolean stopOnError) |
protected String getProcessShortName()
protected String getProcessShortNameCapitalized()
public void setProcessShortName(String processShortName)
public String getContextDesc()
public void setContextDesc(String contextDesc)
public Task getTask()
public String getTaskOperationPrefix()
public boolean handle(PrismObject<O> object, OperationResult parentResult)
ResultHandler
handle
in interface ResultHandler<O extends ObjectType>
object
- Resource object to process.public long heartbeat()
public long getProgress()
public long getErrors()
public boolean isStopOnError()
public void setStopOnError(boolean stopOnError)
protected abstract boolean handleObject(PrismObject<O> object, OperationResult result) throws CommonException
CommonException
Copyright © 2013 evolveum. All rights reserved.