
com.google.gerrit.acceptance.AutoValue_GerritServer_Description Maven / Gradle / Ivy
package com.google.gerrit.acceptance;
import com.google.gerrit.common.Nullable;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_GerritServer_Description extends GerritServer.Description {
private final org.junit.runner.Description testDescription;
private final String configName;
private final boolean memory;
private final boolean httpd;
private final boolean sandboxed;
private final boolean useSshAnnotation;
private final GerritConfig config;
private final GerritConfigs configs;
private final GlobalPluginConfig pluginConfig;
private final GlobalPluginConfigs pluginConfigs;
AutoValue_GerritServer_Description(
org.junit.runner.Description testDescription,
@Nullable String configName,
boolean memory,
boolean httpd,
boolean sandboxed,
boolean useSshAnnotation,
@Nullable GerritConfig config,
@Nullable GerritConfigs configs,
@Nullable GlobalPluginConfig pluginConfig,
@Nullable GlobalPluginConfigs pluginConfigs) {
if (testDescription == null) {
throw new NullPointerException("Null testDescription");
}
this.testDescription = testDescription;
this.configName = configName;
this.memory = memory;
this.httpd = httpd;
this.sandboxed = sandboxed;
this.useSshAnnotation = useSshAnnotation;
this.config = config;
this.configs = configs;
this.pluginConfig = pluginConfig;
this.pluginConfigs = pluginConfigs;
}
@Override
org.junit.runner.Description testDescription() {
return testDescription;
}
@Nullable
@Override
String configName() {
return configName;
}
@Override
boolean memory() {
return memory;
}
@Override
boolean httpd() {
return httpd;
}
@Override
boolean sandboxed() {
return sandboxed;
}
@Override
boolean useSshAnnotation() {
return useSshAnnotation;
}
@Nullable
@Override
GerritConfig config() {
return config;
}
@Nullable
@Override
GerritConfigs configs() {
return configs;
}
@Nullable
@Override
GlobalPluginConfig pluginConfig() {
return pluginConfig;
}
@Nullable
@Override
GlobalPluginConfigs pluginConfigs() {
return pluginConfigs;
}
@Override
public String toString() {
return "Description{"
+ "testDescription=" + testDescription + ", "
+ "configName=" + configName + ", "
+ "memory=" + memory + ", "
+ "httpd=" + httpd + ", "
+ "sandboxed=" + sandboxed + ", "
+ "useSshAnnotation=" + useSshAnnotation + ", "
+ "config=" + config + ", "
+ "configs=" + configs + ", "
+ "pluginConfig=" + pluginConfig + ", "
+ "pluginConfigs=" + pluginConfigs
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof GerritServer.Description) {
GerritServer.Description that = (GerritServer.Description) o;
return (this.testDescription.equals(that.testDescription()))
&& ((this.configName == null) ? (that.configName() == null) : this.configName.equals(that.configName()))
&& (this.memory == that.memory())
&& (this.httpd == that.httpd())
&& (this.sandboxed == that.sandboxed())
&& (this.useSshAnnotation == that.useSshAnnotation())
&& ((this.config == null) ? (that.config() == null) : this.config.equals(that.config()))
&& ((this.configs == null) ? (that.configs() == null) : this.configs.equals(that.configs()))
&& ((this.pluginConfig == null) ? (that.pluginConfig() == null) : this.pluginConfig.equals(that.pluginConfig()))
&& ((this.pluginConfigs == null) ? (that.pluginConfigs() == null) : this.pluginConfigs.equals(that.pluginConfigs()));
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= testDescription.hashCode();
h$ *= 1000003;
h$ ^= (configName == null) ? 0 : configName.hashCode();
h$ *= 1000003;
h$ ^= memory ? 1231 : 1237;
h$ *= 1000003;
h$ ^= httpd ? 1231 : 1237;
h$ *= 1000003;
h$ ^= sandboxed ? 1231 : 1237;
h$ *= 1000003;
h$ ^= useSshAnnotation ? 1231 : 1237;
h$ *= 1000003;
h$ ^= (config == null) ? 0 : config.hashCode();
h$ *= 1000003;
h$ ^= (configs == null) ? 0 : configs.hashCode();
h$ *= 1000003;
h$ ^= (pluginConfig == null) ? 0 : pluginConfig.hashCode();
h$ *= 1000003;
h$ ^= (pluginConfigs == null) ? 0 : pluginConfigs.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy