public class BackupTask extends Task
| Constructor and Description |
|---|
BackupTask() |
| Modifier and Type | Method and Description |
|---|---|
LocalizableMessage |
getAttributeDisplayName(String attrName)
Given an attribute type name returns and locale sensitive
representation.
|
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.
|
void |
interruptTask(TaskState interruptState,
LocalizableMessage interruptReason)
Performs any necessary processing to prematurely interrupt the execution of
this task.
|
boolean |
isInterruptable()
Indicates whether or not this task is interruptible or not.
|
protected TaskState |
runTask()
Performs the actual core processing for this task.
|
addLogMessage, addLogMessage, compareTo, execute, getActualStartTime, getCompletionTime, getDependencyIDs, getFailedDependencyAction, getFinalTaskState, getLogMessages, getNotifyOnCompletionAddresses, getNotifyOnErrorAddresses, getOperation, getRecurringTaskID, getScheduledStartTime, getServerContext, getTaskEntry, getTaskEntryDN, getTaskID, getTaskInterruptState, getTaskState, initializeTaskInternal, isCancelled, isRecurring, replaceAttributeValue, sendNotificationEMailMessage, setCompletionTime, setOperation, setTaskInterruptStatepublic BackupTask()
public LocalizableMessage getDisplayName()
getDisplayName in class Taskpublic LocalizableMessage getAttributeDisplayName(String attrName)
getAttributeDisplayName in class TaskattrName - of an attribute type associated with the object
class that represents this entry in the directorypublic void initializeTask() throws DirectoryException
initializeTask in class TaskDirectoryException - If a problem occurs during initialization that
should be returned to the client.public void interruptTask(TaskState interruptState, LocalizableMessage interruptReason)
Task.setTaskInterruptState(TaskState) if the interruption is accepted
by this task.interruptTask in class TaskinterruptState - The state to use for the task if it is
successfully interrupted.interruptReason - A human-readable explanation for the cancellation.public boolean isInterruptable()
isInterruptable in class TaskCopyright © 2010-2015 ForgeRock AS. All Rights Reserved.