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

org.flyte.jflyte.utils.AutoValue_JFlyteCustom Maven / Gradle / Ivy

Go to download

Primarily used by jflyte, but can also be used to extend or build a jflyte alternative

There is a newer version: 0.4.60
Show newest version
package org.flyte.jflyte.utils;

import java.util.List;
import javax.annotation.processing.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_JFlyteCustom extends JFlyteCustom {

  private final List artifacts;

  private AutoValue_JFlyteCustom(
      List artifacts) {
    this.artifacts = artifacts;
  }

  @Override
  List artifacts() {
    return artifacts;
  }

  @Override
  public String toString() {
    return "JFlyteCustom{"
        + "artifacts=" + artifacts
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof JFlyteCustom) {
      JFlyteCustom that = (JFlyteCustom) o;
      return this.artifacts.equals(that.artifacts());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= artifacts.hashCode();
    return h$;
  }

  static final class Builder extends JFlyteCustom.Builder {
    private List artifacts;
    Builder() {
    }
    @Override
    JFlyteCustom.Builder artifacts(List artifacts) {
      if (artifacts == null) {
        throw new NullPointerException("Null artifacts");
      }
      this.artifacts = artifacts;
      return this;
    }
    @Override
    JFlyteCustom build() {
      if (this.artifacts == null) {
        String missing = " artifacts";
        throw new IllegalStateException("Missing required properties:" + missing);
      }
      return new AutoValue_JFlyteCustom(
          this.artifacts);
    }
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy