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 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, setTaskInterruptState
public LocalizableMessage getDisplayName()
Task
getDisplayName
in class Task
public LocalizableMessage getAttributeDisplayName(String attrName)
Task
getAttributeDisplayName
in class Task
attrName
- of an attribute type associated with the object class that represents this entry in the directorypublic void initializeTask() throws LdapException
Task
initializeTask
in class Task
LdapException
- If a problem occurs during initialization that should be returned to the client.public void interruptTask(TaskState interruptState, LocalizableMessage interruptReason)
Task
Task.setTaskInterruptState(TaskState)
if the
interruption is accepted by this task.interruptTask
in class Task
interruptState
- The state to use for the task if it is successfully interrupted.interruptReason
- A human-readable explanation for the cancellation.public boolean isInterruptable()
Task
isInterruptable
in class Task
Copyright 2010-2022 ForgeRock AS.