package com.qianwen.core.report.props;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ConfigurationProperties(prefix = "report")
|
/* loaded from: blade-starter-report-9.3.0.0-SNAPSHOT.jar:org/springblade/core/report/props/ReportProperties.class */
|
public class ReportProperties {
|
private Boolean enabled = true;
|
private Boolean disableHttpSessionReportCache = false;
|
private Boolean disableFileProvider = true;
|
private String fileStoreDir = "";
|
private Boolean debug = false;
|
|
public void setEnabled(final Boolean enabled) {
|
this.enabled = enabled;
|
}
|
|
public void setDisableHttpSessionReportCache(final Boolean disableHttpSessionReportCache) {
|
this.disableHttpSessionReportCache = disableHttpSessionReportCache;
|
}
|
|
public void setDisableFileProvider(final Boolean disableFileProvider) {
|
this.disableFileProvider = disableFileProvider;
|
}
|
|
public void setFileStoreDir(final String fileStoreDir) {
|
this.fileStoreDir = fileStoreDir;
|
}
|
|
public void setDebug(final Boolean debug) {
|
this.debug = debug;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ReportProperties) {
|
ReportProperties other = (ReportProperties) o;
|
if (other.canEqual(this)) {
|
Object this$enabled = getEnabled();
|
Object other$enabled = other.getEnabled();
|
if (this$enabled == null) {
|
if (other$enabled != null) {
|
return false;
|
}
|
} else if (!this$enabled.equals(other$enabled)) {
|
return false;
|
}
|
Object this$disableHttpSessionReportCache = getDisableHttpSessionReportCache();
|
Object other$disableHttpSessionReportCache = other.getDisableHttpSessionReportCache();
|
if (this$disableHttpSessionReportCache == null) {
|
if (other$disableHttpSessionReportCache != null) {
|
return false;
|
}
|
} else if (!this$disableHttpSessionReportCache.equals(other$disableHttpSessionReportCache)) {
|
return false;
|
}
|
Object this$disableFileProvider = getDisableFileProvider();
|
Object other$disableFileProvider = other.getDisableFileProvider();
|
if (this$disableFileProvider == null) {
|
if (other$disableFileProvider != null) {
|
return false;
|
}
|
} else if (!this$disableFileProvider.equals(other$disableFileProvider)) {
|
return false;
|
}
|
Object this$debug = getDebug();
|
Object other$debug = other.getDebug();
|
if (this$debug == null) {
|
if (other$debug != null) {
|
return false;
|
}
|
} else if (!this$debug.equals(other$debug)) {
|
return false;
|
}
|
Object this$fileStoreDir = getFileStoreDir();
|
Object other$fileStoreDir = other.getFileStoreDir();
|
return this$fileStoreDir == null ? other$fileStoreDir == null : this$fileStoreDir.equals(other$fileStoreDir);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ReportProperties;
|
}
|
|
public int hashCode() {
|
Object $enabled = getEnabled();
|
int result = (1 * 59) + ($enabled == null ? 43 : $enabled.hashCode());
|
Object $disableHttpSessionReportCache = getDisableHttpSessionReportCache();
|
int result2 = (result * 59) + ($disableHttpSessionReportCache == null ? 43 : $disableHttpSessionReportCache.hashCode());
|
Object $disableFileProvider = getDisableFileProvider();
|
int result3 = (result2 * 59) + ($disableFileProvider == null ? 43 : $disableFileProvider.hashCode());
|
Object $debug = getDebug();
|
int result4 = (result3 * 59) + ($debug == null ? 43 : $debug.hashCode());
|
Object $fileStoreDir = getFileStoreDir();
|
return (result4 * 59) + ($fileStoreDir == null ? 43 : $fileStoreDir.hashCode());
|
}
|
|
public String toString() {
|
return "ReportProperties(enabled=" + getEnabled() + ", disableHttpSessionReportCache=" + getDisableHttpSessionReportCache() + ", disableFileProvider=" + getDisableFileProvider() + ", fileStoreDir=" + getFileStoreDir() + ", debug=" + getDebug() + ")";
|
}
|
|
public Boolean getEnabled() {
|
return this.enabled;
|
}
|
|
public Boolean getDisableHttpSessionReportCache() {
|
return this.disableHttpSessionReportCache;
|
}
|
|
public Boolean getDisableFileProvider() {
|
return this.disableFileProvider;
|
}
|
|
public String getFileStoreDir() {
|
return this.fileStoreDir;
|
}
|
|
public Boolean getDebug() {
|
return this.debug;
|
}
|
}
|