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

de.gesellix.docker.context.EndpointMetaBase Maven / Gradle / Ivy

There is a newer version: 2024-11-28T22-05-00
Show newest version
package de.gesellix.docker.context;

import java.util.Objects;

public class EndpointMetaBase {
  private String host;
  private Boolean skipTLSVerify;

  public EndpointMetaBase(String host, Boolean skipTLSVerify) {
    this.host = host;
    this.skipTLSVerify = skipTLSVerify;
  }

  public String getHost() {
    return host;
  }

  public Boolean getSkipTLSVerify() {
    return skipTLSVerify;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    EndpointMetaBase that = (EndpointMetaBase) o;
    return Objects.equals(getHost(), that.getHost()) && Objects.equals(getSkipTLSVerify(), that.getSkipTLSVerify());
  }

  @Override
  public int hashCode() {
    return Objects.hash(getHost(), getSkipTLSVerify());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy