in saga-format/src/main/java/org/apache/servicecomb/saga/format/JsonRestSagaRequest.java [38:58]
public JsonRestSagaRequest(
@JsonProperty("id") String id,
@JsonProperty("serviceName") String serviceName,
@JsonProperty("type") String type,
@JsonProperty("transaction") JacksonRestTransaction transaction,
@JsonProperty("compensation") JacksonRestCompensation compensation,
@JsonProperty("fallback") JacksonFallback fallback,
@JsonProperty("parents") String[] parents,
@JsonProperty("failRetryDelayMilliseconds") int failRetryDelayMilliseconds) {
super(id, serviceName, type, transaction, compensation,
fallback == null ? NOP_TRANSPORT_AWARE_FALLBACK : fallback,
parents, failRetryDelayMilliseconds);
checkNull(transaction, "transaction");
checkNull(compensation, "compensation");
this.transaction = transaction;
this.compensation = compensation;
this.fallback = fallback == null ? NOP_TRANSPORT_AWARE_FALLBACK : fallback;
}