public class ExtensionStateAction extends AbstractManagerAction
Constructor and Description |
---|
ExtensionStateAction()
Creates a new ExtensionStateAction.
|
ExtensionStateAction(String exten,
String context)
Creates a new ExtensionStateAction that queries the state of the given extension in
the given context.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Returns the name of this action, i.e.
|
String |
getContext()
Returns the name of the context that contains the extension to query.
|
String |
getExten()
Returns the extension to query.
|
void |
setContext(String context)
Sets the name of the context that contains the extension to query.
|
void |
setExten(String exten)
Sets the extension to query.
|
getActionId, setActionId, toString
public ExtensionStateAction()
public ExtensionStateAction(String exten, String context)
exten
- the extension to query.context
- the name of the context that contains the extension to query.public String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public String getExten()
public void setExten(String exten)
exten
- the extension to query.public String getContext()
public void setContext(String context)
context
- the name of the context that contains the extension to query.Copyright © 2004–2016. All rights reserved.