public class ModuleCheckAction extends AbstractManagerAction
The ModuleLoadAction returns a ModuleCheckResponse
with
the version of the module if the module is loaded and a ManagerError
if the module is not loaded.
Available since Asterisk 1.6
Constructor and Description |
---|
ModuleCheckAction()
Creates a new ModuleCheckAction.
|
ModuleCheckAction(String module)
Creates a new ModuleCheckAction with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Returns the name of this action, i.e.
|
String |
getModule()
Returns the name of the module to check.
|
void |
setModule(String module)
Sets the name of the module (including or not including the ".so" extension) to check.
|
getActionId, setActionId, toString
public ModuleCheckAction()
public ModuleCheckAction(String module)
module
- the name of the module (including or not including the ".so" extension).public String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public String getModule()
public void setModule(String module)
module
- the name of the module (including or not including the ".so" extension) to check.Copyright © 2004–2022. All rights reserved.