public class StopServerTask extends StartStopTask
Task.State, Task.Type
errorLogs, errorPrintStream, lastException, logs, outPrintStream, outputLogs, process, returnCode, state
Constructor and Description |
---|
StopServerTask(ControlPanelInfo info,
ProgressDialog dlg)
Constructor of the task.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected void |
postCommandLine()
Method called just after calling the command-line.
|
void |
runTask()
Execute the task.
|
canLaunch, getBackends, getCommandLineArguments
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, postOperation, printEquivalentCommandLine, printEquivalentCommandToModify, printEquivalentCommandToModify, printEquivalentRenameCommand, regenerateDescriptor, removeConfigurationElementCreatedListener, runningOnSameServer
public StopServerTask(ControlPanelInfo info, ProgressDialog dlg)
info
- the control panel information.dlg
- the progress dialog where the task progress will be displayed.public LocalizableMessage getTaskDescription()
getTaskDescription
in class Task
public void runTask()
runTask
in class StartStopTask
protected String getCommandLinePath()
null
if there is not a command-line (or a single command-line)
associated with the task.getCommandLinePath
in class Task
protected void postCommandLine()
postCommandLine
in class StartStopTask
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.