Class IndexTask
- java.lang.Object
-
- org.opends.guitools.controlpanel.task.Task
-
- org.opends.guitools.controlpanel.task.IndexTask
-
- Direct Known Subclasses:
RebuildIndexTask
public abstract class IndexTask extends Task
Abstract task used to factorize some code shared by different tasks involving indexes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opends.guitools.controlpanel.task.Task
Task.State, Task.Type
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>backendSetThe set of backends that are affected by this task.protected Set<String>baseDNsThe set of base DNs that are affected by this task.-
Fields inherited from class org.opends.guitools.controlpanel.task.Task
errorPrintStream, lastException, outPrintStream, returnCode, state
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIndexTask(ControlPanelInfo info, ProgressDialog dlg, String baseDN)Constructor of the task.protectedIndexTask(ControlPanelInfo info, ProgressDialog dlg, Collection<String> baseDNs)Constructor of the task.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getBackends()Returns the names of the backends that are affected by the task.-
Methods inherited from class org.opends.guitools.controlpanel.task.Task
addConfigurationElementCreatedListener, canLaunch, executeCommandLine, getCommandLineArguments, getCommandLinePath, getCommandLinePath, getCommandLineToDisplay, getConfigCommandLineArguments, getConnectionCommandLineArguments, getConnectionCommandLineArguments, getEquivalentCommandLine, getErrorLogs, getErrorPrintStream, getIncompatibilityMessage, getInfo, getLastException, getLogs, getNoPropertiesFileArgument, getObfuscatedCommandLineArguments, getOutPrintStream, getOutputLogs, getProcess, getProgressDialog, getReturnCode, getServer, getState, getTaskDescription, getType, isServerRunning, notifyConfigurationElementCreated, obfuscateLDIFLine, postOperation, printEquivalentCommandLine, printEquivalentCommandToModify, printEquivalentRenameCommand, regenerateDescriptor, removeConfigurationElementCreatedListener, runningOnSameServer, runTask, startPoolingAndInitializeConfiguration, stopPoolingAndInitializeConfiguration
-
-
-
-
Constructor Detail
-
IndexTask
protected IndexTask(ControlPanelInfo info, ProgressDialog dlg, String baseDN)
Constructor of the task.- Parameters:
info- the control panel information.dlg- the progress dialog where the task progress will be displayed.baseDN- the base DN where the indexes are defined.
-
IndexTask
protected IndexTask(ControlPanelInfo info, ProgressDialog dlg, Collection<String> baseDNs)
Constructor of the task.- Parameters:
info- the control panel information.dlg- the progress dialog where the task progress will be displayed.baseDNs- the list of base DNs where the indexes are defined.
-
-
Method Detail
-
getBackends
public Set<String> getBackends()
Description copied from class:TaskReturns the names of the backends that are affected by the task.- Specified by:
getBackendsin classTask- Returns:
- the names of the backends that are affected by the task.
-
-