Uses of Enum Class
org.opends.server.backends.task.TaskState
Package
Description
Contains the code for the Directory Server backend that provides an interface for executing administrative tasks.
Contains implementations for various Directory Server tasks.
This package contains classes that support client tool interaction with the tasks backend.
-
Uses of TaskState in org.opends.server.backends.task
Modifier and TypeMethodDescriptionfinal TaskState
Task.execute()
Begins execution for this task.static TaskState
TaskState.fromString
(String s) Retrieves the task state that corresponds to the provided string value.protected TaskState
Task.getFinalTaskState()
Returns a state for this task after processing has completed.final TaskState
Task.getTaskState()
Retrieves the current state for this task.protected abstract TaskState
Task.runTask()
Performs the actual core processing for this task.static TaskState
Returns the enum constant of this class with the specified name.static TaskState[]
TaskState.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
Task.interruptTask
(TaskState interruptState, LocalizableMessage interruptReason) Performs any necessary processing to prematurely interrupt the execution of this task.protected void
Task.setTaskInterruptState
(TaskState state) Sets a state for this task that is the result of a call toTask.interruptTask(TaskState, LocalizableMessage)
.boolean
TaskScheduler.threadDone
(org.opends.server.backends.task.TaskThread taskThread, Task completedTask, TaskState taskState) Indicates that processing has completed on the provided task thread and that it is now available for processing other tasks. -
Uses of TaskState in org.opends.server.tasks
Modifier and TypeMethodDescriptionprotected TaskState
AddSchemaFileTask.runTask()
protected TaskState
BackupPurgeTask.runTask()
protected TaskState
BackupTask.runTask()
protected TaskState
DisconnectClientTask.runTask()
protected TaskState
EnterLockdownModeTask.runTask()
protected TaskState
ExportTask.runTask()
protected TaskState
ImportTask.runTask()
protected TaskState
InitializeTargetTask.runTask()
protected TaskState
InitializeTask.runTask()
protected TaskState
LeaveLockdownModeTask.runTask()
protected TaskState
PurgeConflictsHistoricalTask.runTask()
protected TaskState
RebuildTask.runTask()
protected TaskState
ResetChangeNumberTask.runTask()
protected TaskState
RestoreTask.runTask()
protected TaskState
SetGenerationIdTask.runTask()
ShutdownTask.runTask()
Performs the actual core processing for this task.Modifier and TypeMethodDescriptionvoid
BackupPurgeTask.interruptTask
(TaskState interruptState, LocalizableMessage interruptReason) void
BackupTask.interruptTask
(TaskState interruptState, LocalizableMessage interruptReason) void
ExportTask.interruptTask
(TaskState interruptState, LocalizableMessage interruptReason) void
ImportTask.interruptTask
(TaskState interruptState, LocalizableMessage interruptReason) void
InitializeTask.interruptTask
(TaskState interruptState, LocalizableMessage interruptReason) void
RestoreTask.interruptTask
(TaskState interruptState, LocalizableMessage interruptReason) -
Uses of TaskState in org.opends.server.tools.tasks