package com.qianwen.core.notify.executor;
|
|
import java.io.Serializable;
|
import java.util.HashMap;
|
import java.util.List;
|
import java.util.Map;
|
|
/* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/executor/NotifyExecutionContext.class */
|
public class NotifyExecutionContext implements Serializable {
|
private String contextId;
|
private String tenantId;
|
private String executor;
|
private RuleNotifierProperties configuration;
|
private Map<String, Object> data;
|
private List<String> notifiedParty;
|
private Map<String, Object> extendInfo = new HashMap();
|
|
public void setContextId(final String contextId) {
|
this.contextId = contextId;
|
}
|
|
public void setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public void setExecutor(final String executor) {
|
this.executor = executor;
|
}
|
|
public void setConfiguration(final RuleNotifierProperties configuration) {
|
this.configuration = configuration;
|
}
|
|
public void setData(final Map<String, Object> data) {
|
this.data = data;
|
}
|
|
public void setNotifiedParty(final List<String> notifiedParty) {
|
this.notifiedParty = notifiedParty;
|
}
|
|
public void setExtendInfo(final Map<String, Object> extendInfo) {
|
this.extendInfo = extendInfo;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NotifyExecutionContext) {
|
NotifyExecutionContext other = (NotifyExecutionContext) o;
|
if (other.canEqual(this)) {
|
Object this$contextId = getContextId();
|
Object other$contextId = other.getContextId();
|
if (this$contextId == null) {
|
if (other$contextId != null) {
|
return false;
|
}
|
} else if (!this$contextId.equals(other$contextId)) {
|
return false;
|
}
|
Object this$tenantId = getTenantId();
|
Object other$tenantId = other.getTenantId();
|
if (this$tenantId == null) {
|
if (other$tenantId != null) {
|
return false;
|
}
|
} else if (!this$tenantId.equals(other$tenantId)) {
|
return false;
|
}
|
Object this$executor = getExecutor();
|
Object other$executor = other.getExecutor();
|
if (this$executor == null) {
|
if (other$executor != null) {
|
return false;
|
}
|
} else if (!this$executor.equals(other$executor)) {
|
return false;
|
}
|
Object this$configuration = getConfiguration();
|
Object other$configuration = other.getConfiguration();
|
if (this$configuration == null) {
|
if (other$configuration != null) {
|
return false;
|
}
|
} else if (!this$configuration.equals(other$configuration)) {
|
return false;
|
}
|
Object this$data = getData();
|
Object other$data = other.getData();
|
if (this$data == null) {
|
if (other$data != null) {
|
return false;
|
}
|
} else if (!this$data.equals(other$data)) {
|
return false;
|
}
|
Object this$notifiedParty = getNotifiedParty();
|
Object other$notifiedParty = other.getNotifiedParty();
|
if (this$notifiedParty == null) {
|
if (other$notifiedParty != null) {
|
return false;
|
}
|
} else if (!this$notifiedParty.equals(other$notifiedParty)) {
|
return false;
|
}
|
Object this$extendInfo = getExtendInfo();
|
Object other$extendInfo = other.getExtendInfo();
|
return this$extendInfo == null ? other$extendInfo == null : this$extendInfo.equals(other$extendInfo);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof NotifyExecutionContext;
|
}
|
|
public int hashCode() {
|
Object $contextId = getContextId();
|
int result = (1 * 59) + ($contextId == null ? 43 : $contextId.hashCode());
|
Object $tenantId = getTenantId();
|
int result2 = (result * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $executor = getExecutor();
|
int result3 = (result2 * 59) + ($executor == null ? 43 : $executor.hashCode());
|
Object $configuration = getConfiguration();
|
int result4 = (result3 * 59) + ($configuration == null ? 43 : $configuration.hashCode());
|
Object $data = getData();
|
int result5 = (result4 * 59) + ($data == null ? 43 : $data.hashCode());
|
Object $notifiedParty = getNotifiedParty();
|
int result6 = (result5 * 59) + ($notifiedParty == null ? 43 : $notifiedParty.hashCode());
|
Object $extendInfo = getExtendInfo();
|
return (result6 * 59) + ($extendInfo == null ? 43 : $extendInfo.hashCode());
|
}
|
|
public String toString() {
|
return "NotifyExecutionContext(contextId=" + getContextId() + ", tenantId=" + getTenantId() + ", executor=" + getExecutor() + ", configuration=" + getConfiguration() + ", data=" + getData() + ", notifiedParty=" + getNotifiedParty() + ", extendInfo=" + getExtendInfo() + ")";
|
}
|
|
public String getContextId() {
|
return this.contextId;
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public String getExecutor() {
|
return this.executor;
|
}
|
|
public RuleNotifierProperties getConfiguration() {
|
return this.configuration;
|
}
|
|
public Map<String, Object> getData() {
|
return this.data;
|
}
|
|
public List<String> getNotifiedParty() {
|
return this.notifiedParty;
|
}
|
|
public Map<String, Object> getExtendInfo() {
|
return this.extendInfo;
|
}
|
}
|