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

io.dekorate.testing.config.KubernetesIntegrationTestConfig Maven / Gradle / Ivy

There is a newer version: 4.1.4
Show newest version
package io.dekorate.testing.config;

import java.lang.Object;
import java.lang.String;
import io.sundr.builder.annotations.Buildable;

 /**
  * Generated
  */
  @io.sundr.builder.annotations.Buildable(builderPackage = "io.fabric8.kubernetes.api.builder")
  public class KubernetesIntegrationTestConfig{
  public KubernetesIntegrationTestConfig() {
  }
  public KubernetesIntegrationTestConfig(boolean deployEnabled,boolean buildEnabled,long readinessTimeout,java.lang.String[] additionalModules) {
    this.deployEnabled = deployEnabled;
    this.buildEnabled = buildEnabled;
    this.readinessTimeout = readinessTimeout;
    this.additionalModules = additionalModules != null ? additionalModules : new java.lang.String[0];
  }
  private boolean deployEnabled;
  private boolean buildEnabled;
  private long readinessTimeout;
  private java.lang.String[] additionalModules = new java.lang.String[0];
  
  /**
   * Flag to define whether the extension should automatically apply resources.
   * @return True, if extension should automatically deploy dekorate generated resources.
   */
public boolean isDeployEnabled() {
    return this.deployEnabled;
  }
  
  /**
   * Flag to define whether the extension should automatically apply resources.
   * @return True, if extensions should automatically perform container builds.
   */
public boolean isBuildEnabled() {
    return this.buildEnabled;
  }
  
  /**
   * The amount of time in milliseconds to wait for application to become ready.
   * @return The max amount in milliseconds.
   */
public long getReadinessTimeout() {
    return this.readinessTimeout;
  }
  
  /**
   * List of additional modules to be loaded by the test framework.
   * @return The list of additional modules to be loaded.
   */
public java.lang.String[] getAdditionalModules() {
    return this.additionalModules;
  }
  public boolean equals(java.lang.Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    KubernetesIntegrationTestConfig that = (KubernetesIntegrationTestConfig) o;
    if (deployEnabled != that.deployEnabled) return false;
    if (buildEnabled != that.buildEnabled) return false;
    if (readinessTimeout != that.readinessTimeout) return false;
    if (additionalModules != null ? !additionalModules.equals(that.additionalModules) :that.additionalModules != null) return false;
    return true;
  }
  public int hashCode() {
    return java.util.Objects.hash(deployEnabled,  buildEnabled,  readinessTimeout,  additionalModules,  super.hashCode());
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy