Package org.opends.server.tasks
Class EnterLockdownModeTask
- java.lang.Object
-
- org.opends.server.backends.task.Task
-
- org.opends.server.tasks.EnterLockdownModeTask
-
- All Implemented Interfaces:
Comparable<Task>
public class EnterLockdownModeTask extends Task
This class provides an implementation of a Directory Server task that can be used to place the server in lockdown mode.
-
-
Constructor Summary
Constructors Constructor Description EnterLockdownModeTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.i18n.LocalizableMessagegetDisplayName()Gets a message that identifies this type of task suitable for presentation to humans in monitoring tools.voidinitializeTask()Performs any task-specific initialization that may be required before processing can start.protected TaskStaterunTask()Performs the actual core processing for this task.-
Methods inherited from class org.opends.server.backends.task.Task
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, setTaskInterruptState
-
-
-
-
Method Detail
-
getDisplayName
public org.forgerock.i18n.LocalizableMessage getDisplayName()
Description copied from class:TaskGets a message that identifies this type of task suitable for presentation to humans in monitoring tools.- Overrides:
getDisplayNamein classTask- Returns:
- name of task
-
initializeTask
public void initializeTask() throws DirectoryExceptionDescription copied from class:TaskPerforms any task-specific initialization that may be required before processing can start. This default implementation does not do anything, but subclasses may override it as necessary. This method will be called at the time the task is scheduled, and therefore any failure in this method will be returned to the client.- Overrides:
initializeTaskin classTask- Throws:
DirectoryException- If a problem occurs during initialization that should be returned to the client.
-
-