public class InitializeTargetTask extends Task
| Constructor and Description |
|---|
InitializeTargetTask() |
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.i18n.LocalizableMessage |
getDisplayName()
Gets a message that identifies this type of task suitable for
presentation to humans in monitoring tools.
|
void |
initializeTask()
Performs any task-specific initialization that may be required before
processing can start.
|
protected TaskState |
runTask()
Performs the actual core processing for this task.
|
void |
setLeft(long left)
Set the total number of entries still to be exported.
|
void |
setTotal(long total)
Set the total number of entries expected to be exported.
|
addLogMessage, addLogMessage, compareTo, execute, getActualStartTime, getAttributeDisplayName, getCompletionTime, getDependencyIDs, getFailedDependencyAction, getFinalTaskState, getLogMessages, getNotifyOnCompletionAddresses, getNotifyOnErrorAddresses, getOperation, getRecurringTaskID, getScheduledStartTime, getServerContext, getTaskEntry, getTaskEntryDN, getTaskID, getTaskInterruptState, getTaskState, initializeTaskInternal, interruptTask, isCancelled, isInterruptable, isRecurring, replaceAttributeValue, sendNotificationEMailMessage, setCompletionTime, setOperation, setTaskInterruptStatepublic org.forgerock.i18n.LocalizableMessage getDisplayName()
TaskgetDisplayName in class Taskpublic void initializeTask()
throws DirectoryException
initializeTask in class TaskDirectoryException - If a problem occurs during initialization that
should be returned to the client.protected TaskState runTask()
Taskpublic void setTotal(long total)
throws DirectoryException
total - The total number of entries.DirectoryException - when a problem occurspublic void setLeft(long left)
throws DirectoryException
left - The total number of entries to be exported.DirectoryException - when a problem occursCopyright © 2010-2020 Wren Security. All Rights Reserved.