com.arextest.schedule.sender.SenderParameters Maven / Gradle / Ivy
package com.arextest.schedule.sender;
import com.arextest.schedule.model.plan.BuildReplayPlanType;
import java.util.Map;
/**
* @author: miaolu
* @create: 2021-12-08
**/
public interface SenderParameters {
String getAppId();
String getUrl();
String getOperation();
String getMessage();
String getFormat();
String getSubEnv();
String getConsumeGroup();
/**
* default http post
*
* @return the method to sending
*/
default String getMethod() {
return "POST";
}
default String getRecordId() {
return null;
}
default BuildReplayPlanType getReplayPlanType() {
return BuildReplayPlanType.BY_APP_ID;
}
;
Map getHeaders();
}