com.fivefaces.cloud.workflow.function.SendSMS Maven / Gradle / Ivy
package com.fivefaces.cloud.workflow.function;
import org.json.JSONObject;
import org.springframework.boot.web.client.RestTemplateBuilder;
/**
* This is just an example
*/
public class SendSMS extends Function{
public static final String FUNCTION_NAME = "SEND_SMS";
public SendSMS(RestTemplateBuilder restTemplateBuilder) {
super(restTemplateBuilder);
}
@Override
public void setup(JSONObject jsonObject) {
}
@Override
public JSONObject process(JSONObject jsonObject) {
System.out.println("Sending an SMS");
return new JSONObject();
}
@Override
public void cleanup(JSONObject jsonObject) {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy