package com.qianwen.core.scanner.config.properties;
|
|
import java.util.ArrayList;
|
import java.util.List;
|
|
/* loaded from: blade-starter-scanner-9.3.0.0-SNAPSHOT.jar:org/springblade/core/scanner/config/properties/ScannerProperties.class */
|
public class ScannerProperties {
|
private String appName;
|
private String appCode;
|
private Boolean open = false;
|
private String linkSymbol = ".";
|
private List<String> updateModules = new ArrayList();
|
|
public void setOpen(final Boolean open) {
|
this.open = open;
|
}
|
|
public void setAppName(final String appName) {
|
this.appName = appName;
|
}
|
|
public void setAppCode(final String appCode) {
|
this.appCode = appCode;
|
}
|
|
public void setLinkSymbol(final String linkSymbol) {
|
this.linkSymbol = linkSymbol;
|
}
|
|
public void setUpdateModules(final List<String> updateModules) {
|
this.updateModules = updateModules;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ScannerProperties) {
|
ScannerProperties other = (ScannerProperties) o;
|
if (other.canEqual(this)) {
|
Object this$open = getOpen();
|
Object other$open = other.getOpen();
|
if (this$open == null) {
|
if (other$open != null) {
|
return false;
|
}
|
} else if (!this$open.equals(other$open)) {
|
return false;
|
}
|
Object this$appName = getAppName();
|
Object other$appName = other.getAppName();
|
if (this$appName == null) {
|
if (other$appName != null) {
|
return false;
|
}
|
} else if (!this$appName.equals(other$appName)) {
|
return false;
|
}
|
Object this$appCode = getAppCode();
|
Object other$appCode = other.getAppCode();
|
if (this$appCode == null) {
|
if (other$appCode != null) {
|
return false;
|
}
|
} else if (!this$appCode.equals(other$appCode)) {
|
return false;
|
}
|
Object this$linkSymbol = getLinkSymbol();
|
Object other$linkSymbol = other.getLinkSymbol();
|
if (this$linkSymbol == null) {
|
if (other$linkSymbol != null) {
|
return false;
|
}
|
} else if (!this$linkSymbol.equals(other$linkSymbol)) {
|
return false;
|
}
|
Object this$updateModules = getUpdateModules();
|
Object other$updateModules = other.getUpdateModules();
|
return this$updateModules == null ? other$updateModules == null : this$updateModules.equals(other$updateModules);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ScannerProperties;
|
}
|
|
public int hashCode() {
|
Object $open = getOpen();
|
int result = (1 * 59) + ($open == null ? 43 : $open.hashCode());
|
Object $appName = getAppName();
|
int result2 = (result * 59) + ($appName == null ? 43 : $appName.hashCode());
|
Object $appCode = getAppCode();
|
int result3 = (result2 * 59) + ($appCode == null ? 43 : $appCode.hashCode());
|
Object $linkSymbol = getLinkSymbol();
|
int result4 = (result3 * 59) + ($linkSymbol == null ? 43 : $linkSymbol.hashCode());
|
Object $updateModules = getUpdateModules();
|
return (result4 * 59) + ($updateModules == null ? 43 : $updateModules.hashCode());
|
}
|
|
public String toString() {
|
return "ScannerProperties(open=" + getOpen() + ", appName=" + getAppName() + ", appCode=" + getAppCode() + ", linkSymbol=" + getLinkSymbol() + ", updateModules=" + getUpdateModules() + ")";
|
}
|
|
public Boolean getOpen() {
|
return this.open;
|
}
|
|
public String getAppName() {
|
return this.appName;
|
}
|
|
public String getAppCode() {
|
return this.appCode;
|
}
|
|
public String getLinkSymbol() {
|
return this.linkSymbol;
|
}
|
|
public List<String> getUpdateModules() {
|
return this.updateModules;
|
}
|
}
|