All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kt3k.gradle.plugin.coveralls.domain.ProxyInfo.groovy Maven / Gradle / Ivy

There is a newer version: 2.8.3
Show newest version
package org.kt3k.gradle.plugin.coveralls.domain

import groovy.transform.TupleConstructor

@TupleConstructor
class ProxyInfo {
	String httpsProxyHost
	Integer httpsProxyPort

	boolean equals(o) {
		if (this.is(o)) return true
		if (getClass() != o.class) return false

		ProxyInfo proxyInfo = (ProxyInfo) o

		if (httpsProxyHost != proxyInfo.httpsProxyHost) return false
		if (httpsProxyPort != proxyInfo.httpsProxyPort) return false

		return true
	}

	int hashCode() {
		int result
		result = 31 * result + (httpsProxyHost != null ? httpsProxyHost.hashCode() : 0)
		result = 31 * result + (httpsProxyPort != null ? httpsProxyPort.hashCode() : 0)
		return result
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy