protected class VLVIndexPanel.ModifyVLVIndexTask extends Task
Task.State, Task.Type
errorLogs, errorPrintStream, lastException, logs, outPrintStream, outputLogs, process, returnCode, state
Constructor and Description |
---|
VLVIndexPanel.ModifyVLVIndexTask(ControlPanelInfo info,
ProgressDialog dlg)
The constructor of the task.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canLaunch(Task taskToBeLaunched,
Collection<LocalizableMessage> incompatibilityReasons)
Informs of whether the task to be launched can be launched or not.
|
Set<String> |
getBackends()
Returns the names of the backends that are affected by the task.
|
protected ArrayList<String> |
getCommandLineArguments()
Returns the list of command-line arguments.
|
protected String |
getCommandLinePath()
Returns the full path of the command-line associated with this task or
null if there is not a command-line (or a single command-line)
associated with the task. |
LocalizableMessage |
getTaskDescription()
The description of the task.
|
Task.Type |
getType()
Returns the type of the task.
|
void |
postOperation()
Method that is called when everything is finished after updating the
progress dialog.
|
void |
runTask()
Execute the task.
|
addConfigurationElementCreatedListener, displayBase64, executeCommandLine, getBinaryDir, getCommandLinePath, getCommandLineToDisplay, getConfigCommandLineArguments, getConnectionCommandLineArguments, getConnectionCommandLineArguments, getEquivalentCommandLine, getErrorLogs, getErrorPrintStream, getIncompatibilityMessage, getInfo, getLastException, getLogs, getNoPropertiesFileArgument, getObfuscatedCommandLineArguments, getOutPrintStream, getOutputLogs, getProcess, getProgressDialog, getReturnCode, getServer, getState, isServerRunning, notifyConfigurationElementCreated, obfuscateAttributeStringValue, obfuscateLDIFLine, printEquivalentCommandLine, printEquivalentCommandToModify, printEquivalentCommandToModify, printEquivalentRenameCommand, regenerateDescriptor, removeConfigurationElementCreatedListener, runningOnSameServer
public VLVIndexPanel.ModifyVLVIndexTask(ControlPanelInfo info, ProgressDialog dlg)
info
- the control panel info.dlg
- the progress dialog that shows the progress of the task.public Task.Type getType()
Task
public Set<String> getBackends()
Task
getBackends
in class Task
public LocalizableMessage getTaskDescription()
Task
getTaskDescription
in class Task
public boolean canLaunch(Task taskToBeLaunched, Collection<LocalizableMessage> incompatibilityReasons)
Task
true
.canLaunch
in class Task
taskToBeLaunched
- the Task that we are trying to launch.incompatibilityReasons
- the list of incompatibility reasons that
must be updated.true
if the task that we are trying to launch can be
launched in parallel with this task and false
otherwise.protected String getCommandLinePath()
Task
null
if there is not a command-line (or a single command-line)
associated with the task.getCommandLinePath
in class Task
protected ArrayList<String> getCommandLineArguments()
Task
getCommandLineArguments
in class Task
public void runTask()
Task
public void postOperation()
Task
postOperation
in class Task
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.