All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arextest.schedule.sender.SenderParameters Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy