|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionBuilder
Transforms ManagerActions to Strings suitable to be sent to Asterisk.
The attributes are determined using reflection.
Method Summary | |
---|---|
java.lang.String |
buildAction(ManagerAction action)
Builds a String suitable to be sent to Asterisk based on the given action object. Asterisk actions consist of an unordered set of key value pairs corresponding to the attributes of the ManagerActions. |
java.lang.String |
buildAction(ManagerAction action,
java.lang.String internalActionId)
Builds a String suitable to be sent to Asterisk based on the given action object. Asterisk actions consist of an unordered set of key value pairs corresponding to the attributes of the ManagerActions. |
void |
setTargetVersion(AsteriskVersion targetVersion)
Sets the version of the Asterisk server to built the action for. |
Method Detail |
---|
void setTargetVersion(AsteriskVersion targetVersion)
asteriskVersion
- the version of the target Asterisk server.java.lang.String buildAction(ManagerAction action)
action
- the action to transform
java.lang.String buildAction(ManagerAction action, java.lang.String internalActionId)
action
- the action to transforminternalActionId
- the internal action id to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |