public class MobileSendMessagePerformable extends java.lang.Object implements JobPerformable
| Constructor and Description |
|---|
MobileSendMessagePerformable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAbortable()
Checks whether the execution is implemented abortable.
|
boolean |
isPerformable()
Checks whether the execution can be performed at the moment.
|
PerformResult |
perform(CronJobModel cronJob)
The execution body for a
ServicelayerJob. |
protected void |
performSending(PhoneNumberModel number,
MobileSendMessageCronJobModel context) |
void |
setActionHelper(ActionHelper actionHelper) |
void |
setI18nService(I18NService i18nService) |
void |
setTextService(TextService textService) |
public boolean isAbortable()
JobPerformableisAbortable in interface JobPerformablepublic boolean isPerformable()
JobPerformableisPerformable in interface JobPerformablepublic PerformResult perform(CronJobModel cronJob)
JobPerformableServicelayerJob. Implement here your execution logic. It can be called
synchronous or asynchronous. So be aware of thread-safety. Method will return a result object saying if the
execution has reached end and if it was successful.perform in interface JobPerformablecronJob - the related CronJob in whose context the execution will be performed.PerformResult that indicates whether the execution was successfully executed
or not and has finished or not.protected void performSending(PhoneNumberModel number, MobileSendMessageCronJobModel context)
public void setActionHelper(ActionHelper actionHelper)
public void setTextService(TextService textService)
public void setI18nService(I18NService i18nService)
Copyright © 2018 SAP SE. All Rights Reserved.