Package org.cyclos.impl.utils.sms
Interface SmsOperation
-
public interface SmsOperationDefines the API for SMS operation implementations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(SmsOperationConfiguration operationConfiguration, MobilePhone phone, InboundSmsData sms)Executes this operation for the given contextStringgetHelp(SmsOperationConfiguration operationConfiguration, String alias)SmsOperationExecutiongetOperationExecution(SmsOperationConfiguration operationConfiguration)Returns who can execute this operation
-
-
-
Method Detail
-
execute
void execute(SmsOperationConfiguration operationConfiguration, MobilePhone phone, InboundSmsData sms) throws SmsOperationException
Executes this operation for the given context- Throws:
SmsOperationException- if any error has occurred processing the operation
-
getHelp
String getHelp(SmsOperationConfiguration operationConfiguration, String alias)
- Returns:
- a help message for the operation
-
getOperationExecution
SmsOperationExecution getOperationExecution(SmsOperationConfiguration operationConfiguration)
Returns who can execute this operation
-
-