io.apicurio.registry.utils.impexp.EntityInfo Maven / Gradle / Ivy
package io.apicurio.registry.utils.impexp;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import java.io.File;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Getter
@Setter
@EqualsAndHashCode
@ToString
public class EntityInfo {
private String path;
private EntityType type;
public File toFile() {
return new File(path);
}
}