org.flyte.jflyte.utils.AutoValue_TaskSpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jflyte-utils Show documentation
Show all versions of jflyte-utils Show documentation
Primarily used by jflyte, but can also be used to extend or build a jflyte alternative
package org.flyte.jflyte.utils;
import javax.annotation.processing.Generated;
import org.flyte.api.v1.TaskTemplate;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_TaskSpec extends TaskSpec {
private final TaskTemplate taskTemplate;
AutoValue_TaskSpec(
TaskTemplate taskTemplate) {
if (taskTemplate == null) {
throw new NullPointerException("Null taskTemplate");
}
this.taskTemplate = taskTemplate;
}
@Override
public TaskTemplate taskTemplate() {
return taskTemplate;
}
@Override
public String toString() {
return "TaskSpec{"
+ "taskTemplate=" + taskTemplate
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof TaskSpec) {
TaskSpec that = (TaskSpec) o;
return this.taskTemplate.equals(that.taskTemplate());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= taskTemplate.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy