Uses of Class
org.opends.server.backends.task.TaskState
-
Packages that use TaskState Package Description org.opends.server.backends.task Contains the code for the Directory Server backend that provides an interface for executing administrative tasks.org.opends.server.tasks Contains implementations for various Directory Server tasks.org.opends.server.tools.tasks This package contains classes that support client tool interaction with the tasks backend. -
-
Uses of TaskState in org.opends.server.backends.task
Methods in org.opends.server.backends.task that return TaskState Modifier and Type Method Description 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.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
TaskState. valueOf(String name)
Returns the enum constant of this type with the specified name.static TaskState[]
TaskState. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.opends.server.backends.task with parameters of type TaskState Modifier and Type Method Description void
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
Methods in org.opends.server.tasks that return TaskState Modifier and Type Method Description protected 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()
TaskState
ShutdownTask. runTask()
Performs the actual core processing for this task.Methods in org.opends.server.tasks with parameters of type TaskState Modifier and Type Method Description void
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
Methods in org.opends.server.tools.tasks that return TaskState Modifier and Type Method Description TaskState
TaskEntry. getTaskState()
Gets the task state.
-