package it.cavallium.datagen.plugin; import java.util.Objects; public class RemoveDataConfiguration implements TransformationConfiguration { public String transformClass; public String from; @Override public String getTransformClass() { return transformClass; } @Override public String getTransformName() { return "remove-data"; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } RemoveDataConfiguration that = (RemoveDataConfiguration) o; return Objects.equals(transformClass, that.transformClass) && Objects.equals(from, that.from); } @Override public int hashCode() { int hash = 0; hash += ConfigUtils.hashCode(transformClass); hash += ConfigUtils.hashCode(from); return hash; } public RemoveDataConfiguration copy() { var c = new RemoveDataConfiguration(); if (this.transformClass != null) c.transformClass = this.transformClass; if (this.from != null) c.from = this.from; return c; } }